title: Compression of *.js and *.css files going through the Azure endpoint
body: <p>I am trying to set up *.js and *.css compression on the fly on the Azure platform. I have an application running on Azure App Services. It serves uncompressed *.js and *.css files. I want to use the CDN profile so I added an endpoint. and configured it to compress JS and CSS files.
  <a href="https://i.stack.imgur.com/Do1NG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Do1NG.png" alt="Configuration" /></a>
  But the files are still served uncompressed even if I access the App Service via the endpoint. (the uncompressed file has about 3 MB, compressed about 600 KB).
  <a href="https://i.stack.imgur.com/2evVH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2evVH.png" alt="Uncompressed" /></a>
  Do I miss some configuration, that allows bypassing the uncompressed files through the CDN endpoint?</p>
  <p>Is this a correct approach for App Services how to compress files on the fly?</p>
  <p>Thank you for any help or advice.</p>