WebPagetest Forums
TTFB is long when no cache - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: TTFB is long when no cache (/showthread.php?tid=15102)

TTFB is long when no cache - definitelynotmorty - 10-28-2017 12:20 AM

I have tried to make my site: https://dronesgator.com/drones load faster

The thing is, this TTFB is over 1,5 seconds and sometimes 4 seconds only when I purge caches and wait.Angry

If everything is cached, it seems to be very good.

Here's a first purge cache test:

And the second one (nothing chanced, just redid the test).

I also tested with pingdom and others, same results.

Here's what I tried so far:
-use cloudflare and MAX CDN (none worked), actually I'm using clouflare as we speak.
-I use w3 total cache with settings I got from a popular article.
- I also tried to activate HTTP/2 from my NGNIX server (with the help of a friend)
- I also tried to activate fastcgi_cache from NGINX but I'm not sure I managed to do it succesfully (https://medium.com/@codeforgeek/solving-time-to-first-byte-ttfb-in-wordpress-5e6aeb03a8e)

Thanks in advance, you'll save my week!

RE: TTFB is long when no cache - GreenGecko - 10-30-2017 08:07 AM

Well, yes this is exactly what I'd expect. If you have no cached example of the page then not only do you need to generate it, but you'll have to save a copy in cache. The net effect of that is that first view will be slower than with no cache.

To address the cacheless performance needs you to analyse, properly size and configure your infrastructure. This may require you to upgrade from shared to dedicated hosting so that you have the ability to do this.

RE: TTFB is long when no cache - definitelynotmorty - 10-30-2017 08:22 AM

I do have shared hosting, but I have installed Vesta myself (running Nginx). What advices do you have in that case what would you have me do? Does changing to dedicated hosting alone change anything? Probably depends on the quality (but I am not able to pay more than $20 a month rn)

RE: TTFB is long when no cache - GreenGecko - 11-03-2017 01:50 PM

well, you can actually control stuff. It does depend on your admin skills, but there are plenty of places around that can offer VPSes for that - a quick check on https://www.linode.com/pricing shows you can get pretty decent grunt for that much.