have you checked DianogaDianoga
documentation here: https://github.com/kamsar/Dianoga#optimization-strategies?
On which version of DianogaDianoga
you are? It seems you need to enable "Dianoga.NextGenFormats.CDN.config"Dianoga.NextGenFormats.CDN.config
:
If you run Sitecore under CDN: review and enable Dianoga.NextGenFormats.CDN.config.disabled. It will add ?extension= query parameter to all images present on your pages.
If you run Sitecore
under CDN: review and enable
Dianoga.NextGenFormats.CDN.config.disabled
. It will add
?extension= <list of supported extensions>
query parameter to all
images present on your pages.
Hope it helps!