-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hi,
ZenCache's Static CDN Filters works great within my site, beside one issue - I'm using the 'srcset' parameter in the tags in order to set a different image src for each screen size, and the filter changed only the first "src=" parameter but none of the "srcset=" parameters...
For example:
<img class="alignnone wp-image-86011" src="//cdn.hwzone.co.il/wp-content/uploads/2016/01/1-1.jpg?iv=1" alt="" width="1920" height="1157" srcset="//hwzone.co.il/wp-content/uploads/2016/01/1-1-300x181.jpg 300w, //hwzone.co.il/wp-content/uploads/2016/01/1-1-768x463.jpg 768w, //hwzone.co.il/wp-content/uploads/2016/01/1-1-1024x617.jpg 1024w, //hwzone.co.il/wp-content/uploads/2016/01/1-1-600x362.jpg 600w, //hwzone.co.il/wp-content/uploads/2016/01/1-1-696x420.jpg 696w, //hwzone.co.il/wp-content/uploads/2016/01/1-1-1068x644.jpg 1068w, //hwzone.co.il/wp-content/uploads/2016/01/1-1-697x420.jpg 697w, //hwzone.co.il/wp-content/uploads/2016/01/1-1.jpg 3882w" sizes="(max-width: 1920px) 100vw, 1920px">
Note how the "src=" has turned into the cdn subdomain, while the "srcset=" hasn't.
This is not a critical issue since obviously it still works - but nevertheless if there is a possible fix for this - it'll great :)
thanks