CDNs and image optimization
Answered
Hello team.
We have few questions we hope you can help answer.
I’m trying to integrate Sirv (sirv.com), which is an external image CDN and optimizer. I have a question about how IO handles image URLs.
Does InflatableOffice allow the URLs of IO-generated images (product images, category images, availability widgets, etc.) to be rewritten or served through an external CDN like Sirv?
Sirv rewrites img URLs to serve images optimized as WebP/AVIF, but it can only do this if the IO image URLs are rewriteable through filters or standard WordPress output.
So my questions are:
- Are the image URLs that IO outputs rewriteable by WordPress filters or external CDN plugins (like Sirv), or does IO inject images in a way that prevents URL rewriting?
- If IO images cannot be rewritten automatically, is there any approved method to have IO product and category images served through a CDN like Sirv (for example: custom hooks, template overrides, or alternate image paths)?
- Does IO offer any built-in compatibility with external CDNs (Sirv, Cloudflare Polish, WP Offload Media, etc.), or any recommended approach for image optimization?
Thank you!
You can't vote. Please authorize!
The same question
You should be able to use a CDN for those images. We currently use the plugin 'WebP express' to optimize images, and convert them to webp. It also automatically rewrites the image URLs and htaccess rules, so it other services that do this should work as well.
You should be able to use a CDN for those images. We currently use the plugin 'WebP express' to optimize images, and convert them to webp. It also automatically rewrites the image URLs and htaccess rules, so it other services that do this should work as well.
Replies have been locked on this page!