I have a "Basic" Azure App Service Plan hosting multiple App Services. One of those App Services contains exclusively static content (i.e., html
, css
, js
, png
, &c.).
Question
What server-side configuration settings are available to me in Azure to optimize for static content delivery? My objective is to minimize resources used by the App Service Plan, while also maximizing responsiveness to clients.
Note: I am not looking for advice on optimization of client-side files, such as bundling and minification.
Current Settings
Currently, I have the following set in my web.config
file:
<configuration>
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00" />
</staticContent>
<urlCompression doStaticCompression="true" />
<httpCompression>
<staticTypes>
<clear />
<add enabled="true" mimeType="*/*" />
</staticTypes>
</httpCompression>
</system.webServer>
</configuration>
Related Questions
I'm hoping for something similar to an excellent answer to a similar question pertaining to IIS 7.5 from a number of years ago. Obviously, many of those remain pertinent. Are there additional settings I should be considering for Azure specifically? For example, are there ways to disable support for server-side preprocessors such as ASP.NET that might reduce unnecessary resources?