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 9 months, 1 week 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 6 months, 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!
Subject: Request for Responsive Image Delivery on Mobile Devices
Hello StaticDelivr Support,
I have StaticDelivr CDN installed on my website: https://valorados.es/
On my posts, the main image is displayed on mobile at approximately 431 × 400 px, but StaticDelivr currently delivers it at around 1343 × 1247 px. PageSpeed estimates potential savings of approximately 52 KiB if a more appropriate image size is served.
Could you please advise me how to configure StaticDelivr so that it:
- Automatically serves the image at approximately 862 × 835 px on mobile devices, suitable for Retina/DPR 2 screens.
- Keeps a larger size for desktop devices according to the available display width.
- Automatically generates or respects
srcset and sizes.
- Works dynamically when the featured image changes for each post.
- Does not require manual changes to individual posts.
Example of the current URL:
https://cdn.staticdelivr.com/img/images?...&w=1343&h=1247
Is there a plugin setting or recommended filter that can provide this responsive behavior without conflicts with WP Rocket?
Thank you.
Hi Eugenio,
Thanks for the feedback.
A 52 KiB difference is fairly negligible for real-world load times, and delivering the 1343px original ensures optimal visual quality on high-density Retina screens.
That said, I’ll look into refining dynamic srcset handling long-term and expect to roll out an update around the end of November.
Best regards
Hi,
Thank you very much, that would be great.
Best regards,
Eugenio