Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Slow load time, then it becoms fast

Started by Morten 8 years ago · 2 replies · 966 views
8 years ago

Hi,

Got some performance trouble with my site loading "Time to First Byte" slow.
When I'm on the site, it's extremely fast.

I tried:
• Disabling/enabling cache
• Disabling/enabling advanced page cache
• Moved to another server
• Got all PHP extensions Grav recomends running

The site is running SSL, but it's even slow without SSL
Made a static version on the site, and it loads extremely fast aswell, so it's not the content. Tried making a ping to the backend and it's slow aswell.

any idears?

I'm on a shared server but only using minimal of the CPU/memory

Using pingdom first ping I'm getting: 5.37 s
If i ping it again i'm getting: 322 ms

8 years ago

Note that Time to First Byte (TTFB) refers to the response-time from when the server first responds (ref). This is unaffected by the content or scripts running on the server, and optimizing Grav will not improve TTFB-performance, nor will the server-performance itself affect it.

Rather, TTFB indicates whether the server responds to any request in a timely manner, and that initial result with Pingdom would indicate that the server is unreachable for 5.37s, which is a problem between the client and server - not the server itself.

You should check with the host of the shared server if they are experiencing any problems, and if possible provide them with a traceroute to show the problem manifestly.

8 years ago

Thanks for the reply!

Seems like I got TTFB wrong. It's the "load time", what pingdom calls "Wait". So it's properly something with PHP/cache. The static HTML-version gets about 150 ms

last edited 05/28/18 by Morten

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 60 16 hours ago
Support · by Anna, 3 days ago
2 66 19 hours ago
Support · by Justin Young, 20 hours ago
1 34 20 hours ago
Support · by Duc , 1 week ago
2 70 6 days ago
Support · by Colin Hume, 1 week ago
2 61 6 days ago