-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebP image not getting generated from CDN #112
Comments
Do you have any updates about this issue? |
It sounds like an environment issue so I would recommend asking in Sitecore Slack to get help. |
Do you have Dianoga.WebP.CDN.config enabled locally and everything is fine? Only if works locally with Dianoga.WebP.CDN.config enabled: |
We cleared the mediaCache folder on the server after adding Dianoga. |
For Azure CDN support you'll need to upgrade to 6.1.0 and review the readme config for this. |
Version of Dianoga
5.4.1
Environment description
Sitecore.NET 9.3.0
.NET Framework 4.7.2
What configs you have enabled
Dianoga.DisableForSites.config
Dianoga.Jpeg.config
Dianoga.Log.config
Dianoga.Png.config
Dianoga.Svg.config
Dianoga.WebP.CDN.config
Dianoga.WebP.config
Web.config changes:
I`ve replaced in sitecore_media.ashx type to "Dianoga.MediaRequestHandler, Dianoga" name="Sitecore.MediaRequestHandler"
What you expected to see, versus what you actually saw
Expected: To see images being pulled down in webp format
Actual: Images are received in optimized formats (jpeg, png, etc), but not in webp.
Logs files:
All logs files are empty.
Comments
After deploy on CD in Azure MediaProvider adds extension webp as a URL param. This should trigger the webp optimizer in the MediaRequestHandler. But the MediaProvider doesn’t appear to run. On my local envirement I don`t use CDN and Dianoga works fine. And I am probably missing something?
The text was updated successfully, but these errors were encountered: