Very slow performance #5213
Replies: 9 comments 17 replies
-
How many entries do you have? If it's > 3k then I'd look into static caching. |
Beta Was this translation helpful? Give feedback.
-
We'll need more information about your setup. What does your template look like? |
Beta Was this translation helpful? Give feedback.
-
Are you using the Nav tag, by chance? |
Beta Was this translation helpful? Give feedback.
-
I've just discovered that using Laragon instead of Wamp makes a huge difference. My Largest page went from down to a ~ 2s loading time. **EDIT: ** after clearing the cache page's, heavy pages still take 30+ seconds, but a tiny contact page is now ready under 1 second. |
Beta Was this translation helpful? Give feedback.
-
Did you solve this or improve the performance? I also wondered if i'm overusing the Antler conditions or something … |
Beta Was this translation helpful? Give feedback.
-
I was given to maintain a website. Running V3.3.68 Pro, the performance is very slow. According to dev bar very request is more than 3.5 s to the page load. Other partials where nav is used makes ir even slower. I tried to cache everything but that is not the solution for our case as there are dynamic is active and is parent. What to do? This is the _sidebar.antlers.html https://pastebin.com/v8JD9j5m The file watcher is disabled and had full caching setup in .env if that changes something. The total count of contents in collections is 4k+ |
Beta Was this translation helpful? Give feedback.
-
Did you add an index for the fields you’re filtering on?
|
Beta Was this translation helpful? Give feedback.
-
I think it's just this:
|
Beta Was this translation helpful? Give feedback.
-
Let's see your full |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
We are having some issues with loading times on our statamic website.
I've noticed that in general statamic is very slow when not using it's caching system.
Production:
we have enabled the following settings (env):
The issue
If the cache was cleared and we try to access some pages we'll get the following message:
Request Timeout
This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout
.The main issue is that when the page has not been cached yet, it take very long to create cached/static version of it.
Page reload (non-cached)
On local development when I turn off my

STATAMIC_STATIC_CACHING_STRATEGY
.A page reload takes at least 5 seconds up to even 30+ seconds. (even for a minimal contact page)
minimal page :
bigger page:
Control panel
On our staging sometimes the "control panel" is also verry slow and we get the following message (not sure if this is associated with pageload on my website):
Too many requests to statamic.com. Try again in 18 seconds.
Beta Was this translation helpful? Give feedback.
All reactions