Codeinwp/optimole-wp

lazyload placeholders should have only the quality as a processing operator

selul opened this issue ยท 1 comments

selul commented

Right now when we build the eco placeholders urls, the width and height is still present which might causing duplicate images using different urls i.e
/w:100/h:100/q:eco/https://example.com/image.png
/w:120/h:200/q:eco/https://example.com/image.png

Both of them serve the same image but uses a different url.

We can avoid this by generating the placeholder URL without the width/height, i.e

/q:eco/https://example.com/image.png

selul commented

๐ŸŽ‰ This issue has been resolved in version 2.1.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€