Site very slow, almost frozen

Hello, I’ve designed a website running on Kirby and for many years everything was fine. Since last week it started to slow down till a point where it almost stop opening pages and the panel is unreachable. How can I fix it? The website is https://www.lido-lido.com.

Thanks, Lorenzo

If you or your client didn’t make changes to the site (code or content wise), then you have to find the reason in the infrastructure.

Possible causes:

Disk i/o problem or full disk
If shared hosting: overloaded node
Problems with external dependencies (fonts, cookies etc.)

Having said that, the site is not really optimized, it seems (no responsive images, rather large images and resulting payload)

Thank you! With no responsive images, do you mean no use of srcset? In that case I can improve it.

Right, responsive images means using srcset in combination with the sizes attribute. srcset alone only works for fullsize images, not if you use images in a grid or so. Ideally combine this with native lazy-loading of offscreen images.

But the current behavior is not due to the images, but has something to do with the infrastructure.

Thank you! Probably is an overloaded node :frowning: I’ll look for a better provider. Are there providers recommended by Kirby? Thanks

There are some recommendations in the hosting topics here or on Discord, but maybe depends on what area you want to serve mainly.

It is not super fast, but not super slow either. “for many years everything was fine”… if you haven’t updated anything for a few years… “Never touch a running system” I know, but it doesn’t work like this with software. PHP versions, libraries, … they hit EOL at some point. If you are using shared hosting, they update and at some point your tech stack might just not be supported anymore.

I like your site, but it’s probably time to think about a refresh. And if it is more than a hobby, think about doing it with Shopify. Kirby can be used for eCommerce, but it means you’re trying to fight with a knife against a gun.

I wouldn’t subscribe to that and not only because I am team Kirby.

Not every type of shop needs a Shopify-style turnkey features or a massive solution like WooCommerce or Shopware.

For smaller shops, Kirby’s lean structure, adaptability etc. can be a massive advantage.

And it only takes a few simple steps to make the website above far more performant than it currently is, because the amount and size of images is the performance killer, not the shop features.

Having said that, Kirby 3reached EOL on December 1, so there will no more security updates; and so have all PHP versions supported by Kirby 3. Well, not quite, there are still 20 days left until PHP 8.1 reaches end of life :wink:.

And update to a newer version of Kirby is therefore recommended.

Thank you @marc22761 . Yes, the problem was indeed the hosting, and they have now solved the issue, but it is not a good service at the end of the day. I agree with @texnixe also because I don’t like Shopify or eCommerce-style navigation, and I prefer to keep everything custom. My choice of Kirby is also political, and as long as I can, I try to avoid using these platforms. For this website, I developed a cart plugin, but I have now seen that a new one (Kart) has been released, and I will try to switch to it.