CDN und SRCSET
-
Hi,
I use the RICG Responsive Images plugin to add the srcset attribute to my images.When I use a CDN with W3TC only the first image in the srcset-array is rewritten to the CDN URL. Example:
<img srcset="https://cdndomain.com/300.jpg 300w, https://mydomain.com/400.jpg 400w, https://mydomain.com/600.jpg 600w," sizes="(min-width: 37.5rem) calc(50vw - 1.75em), calc(100vw - 2em)" alt="Image">
Is there a possibility to rewrite the image array in the cached files?
Thanks
Ivo
- The topic ‘CDN und SRCSET’ is closed to new replies.