Enabling text compression on an azure app

Simon Lovejoy 0 Reputation points
2024-06-23T06:59:21.45+00:00

I am seeing an alert being reported on my azure app advising that text-based resources should be served with compression (gzip, deflate or brotli) to minimize total network bytes.

The website that is running on this app has azure front door attached to it.

Is there a portal solution to enabling this compression on my app, or would this need to be achieved otherwise?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,273 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 19,921 Reputation points
    2024-06-24T10:57:09.84+00:00

    @Simon Lovejoy Thanks for asking question! If I am understanding right you want to enable compression on the app service and not on AFD, If so,

    You may refer to below blog links for the detailed steps and would be helpful-

    Optimizing Azure Web App: Enabling Dynamic GZIP Compression

    Compression on App Service Linux

    Let us know.

    0 comments No comments