core icon indicating copy to clipboard operation
core copied to clipboard

Bolt taking 10 seconds to load?

Open sJones1997 opened this issue 4 years ago • 6 comments

Hello,

I have created a website using bolt cms, and I'm experiencing really poor loading times (usually around the 10-second mark), have been having a look online and all the advice for increasing performance seems to be out of date.

Having a look in Symfony profiler and this is what I'm seeing.

image

Any idea how I can improve my loading times? The 1-second mark would be ideal.

sJones1997 avatar Sep 29 '21 10:09 sJones1997

The FirerallListener seems to be the primary bottleneck here. Maybe this'll help? https://stackoverflow.com/questions/60871970/symfony-5-traceablefirewalllistener-very-slow

Once that's resolved, see what the new bottleneck is, and we'll see if we can improve that, too. :-)

bobdenotter avatar Sep 29 '21 17:09 bobdenotter

@sJones1997 I've moved the issue to the correct repo!

bobdenotter avatar Sep 29 '21 17:09 bobdenotter

The FirerallListener seems to be the primary bottleneck here. Maybe this'll help? https://stackoverflow.com/questions/60871970/symfony-5-traceablefirewalllistener-very-slow

Once that's resolved, see what the new bottleneck is, and we'll see if we can improve that, too. :-)

Have had a read through that seems like it could be what I'm after. Not sure what is meant by "I had to remove the mount for the complete 'app' folder".

sJones1997 avatar Sep 30 '21 09:09 sJones1997

Had another look at the profiler, and now it appears the issue is with the content of the site? Really confused about all this.

image

sJones1997 avatar Sep 30 '21 09:09 sJones1997

Is this still an issue? Maybe can be closed if not relevant anymore.

abdellahrk avatar Jul 16 '22 20:07 abdellahrk