9

A very simple question I'm looking to get confirmed.

Can you run Dianoga module in Sitecore within an Azure Web App context?

My main concern is that it requires .exe files for compression as mentioned in this question.

6

I've used this for a while and can confirm that it works (up to SC 8.2). Furthermore, I just tested it and it still works with Sitecore 9 in PaaS.

Once installed, look for Dianoga informational messages in Application Insights after requesting your images. It should look somewhat like this:

enter image description here

If you refresh your image (bypassing the browser cache) once it's processed (i.e. after being requested once on the web site), you can compare sizes before and after. If you test with larger, unoptimized images, you should see some decent gains.

Notes:

  • I've never used the SVG compression.
  • I have not tested the nQuant method of PNG compression.
  • The default PNGOptimizer requires a 64-bit application pool.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.