Current time: 12-17-2017, 02:46 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TTFB is long when no cache
10-28-2017, 12:20 AM
Post: #1
TTFB is long when no cache
Hello,
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:
http://www.webpagetest.org/result/171027...f7d2035ff/

And the second one (nothing chanced, just redid the test).
http://www.webpagetest.org/result/171027...ea77e3e68/

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-...e6aeb03a8e)

Thanks in advance, you'll save my week!
Find all posts by this user
Quote this message in a reply
10-30-2017, 08:07 AM
Post: #2
RE: TTFB is long when no cache
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.
Find all posts by this user
Quote this message in a reply
10-30-2017, 08:22 AM
Post: #3
RE: TTFB is long when no cache
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)
Find all posts by this user
Quote this message in a reply
11-03-2017, 01:50 PM
Post: #4
RE: TTFB is long when no cache
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)