Hi,
You’re right, I have preloading disabled now, the page speed score is the same 96-97, but the images were taking a long time to load (blank space), which isn’t good for the user experience. Now the user experience is very good.
Best regards,
Eugenio
-
This reply was modified 4 months, 2 weeks ago by
queno1809.
Great to hear! Let me know if anything else comes up.
Hi Eugenio,
Were you having problems with the assets CDN by any chance – especially with Premium plugins or themes?
Thank you.
Hi,
I only use the CDN for images, and I use the WP Rocket plugin. Is it compatible with the StaticDeliver CDN?
Best regards,
Eugenio
Hi Eugenio,
WP Rocket doesn’t serve your CSS or JS through a CDN. It only minifies or combines them, but the files are still delivered from your own server. StaticDelivr actually serves assets from a CDN.
For example, your original theme file might be:
/wp-content/themes/twentytwentythree/1.0/style.css
StaticDelivr would turn that into something like:
https://cdn.staticdelivr.com/wp/themes/twentytwentythree/1.0/style.css
But if WP Rocket rewrites it into a combined local file, such as:
/wp-content/cache/min/style-abc123.css
then that file will always come from your server, not the CDN, because the original URL no longer exists for StaticDelivr to rewrite.
So the only real question is which is faster on your setup. Do you want to test whether your site loads quicker with StaticDelivr’s Assets CDN on and WP Rocket’s combining off, or with StaticDelivr off and WP Rocket’s combining on?
Best regards.
Hi
Thank you so much for your information. The WP Rocket plugin is better. On my server, I have the LiteSpeed option, but WP Rocket still wins. If you develop CDN compatibility for WP Rocket, that would be great.
Best regards,
Eugenio
Hi Eugenio,
Thanks for letting me know. I agree, if WP Rocket is giving you the best results, it’s best to stick with that.
To be honest, making the assets CDN fully compatible with WP Rocket is basically impossible. StaticDelivr is a CDN for open-source assets, so it serves original files straight from the WordPress.org repository. WP Rocket works by changing and combining those files into unique versions on your server. Since the files aren’t originals anymore, the CDN can’t find them to serve them.
It would be cool to see if LiteSpeed actually feels faster for users in different cities globally though. Sometimes a global CDN setup performs better in the real world for distant users, even if local speed scores look similar.
Thanks again for all the help testing these things out! I’m glad the images are working well now.
Best regards.
Hi,
Thank you very much for the explanation.
Best regards,
Eugenio
Hello, it seems that as I’m writing this, your CDN is failing? It’s not delivering images; they’re not showing up on my website.
https://cdn.staticdelivr.com/img/images?url=https%3A%2F%2Fvalorados.es%2Fwp-content%2Fuploads%2F2026%2F04%2FL1500_.jpg7c72.jpg&q=75&format=webp
Error 503 first byte timeout
first byte timeout Error 54113
Details: cache-mad2200125-MAD 1776439345 30019879
Varnish cache server
-
This reply was modified 1 month, 3 weeks ago by
queno1809.
Hi Eugenio,
Thanks for the details. Should be all good now 👍.
https://status.staticdelivr.com/
Yes, this is the first time I’ve seen it timeout. I will investigate further.
Thanks again!