Question

What aspects of http compression can be specified in the web config.

I have gotten dynamic compression working via changes to the applicationHost file for iis, but I'd like to configure as much as possible inside the application's web config.

I have been unsuccesfull to do this outside of the applicationHost file.

Was it helpful?

Solution

Compression for dynamic and static content can be enabled or disabled per website, but the technical parameters like the minimal file size (before a file is compressed), the location of the directory where compressed files are cached and the size of the compression cache per application pool can only configured on the server level (hence in applicationHost.config).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top