Title: CDN und SRCSET
Last modified: August 30, 2016

---

# CDN und SRCSET

 *  [solemone](https://wordpress.org/support/users/solemone/)
 * (@solemone)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cdn-und-srcset-1/)
 * Hi,
    I use the [RICG Responsive Images plugin](https://wordpress.org/plugins/ricg-responsive-images/)
   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="http://cdndomain.com/300.jpg 300w, http://mydomain.com/400.jpg 
   400w, http://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
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

The topic ‘CDN und SRCSET’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [cdn](https://wordpress.org/support/topic-tag/cdn/)
 * [rewrite url](https://wordpress.org/support/topic-tag/rewrite-url/)
 * [srcset](https://wordpress.org/support/topic-tag/srcset/)

 * 0 replies
 * 1 participant
 * Last reply from: [solemone](https://wordpress.org/support/users/solemone/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/cdn-und-srcset-1/)
 * Status: not a support question