iis-docs icon indicating copy to clipboard operation
iis-docs copied to clipboard

Seemingly incorrect information on dynamicCompressionBeforeCache

Open appelgran opened this issue 5 years ago • 0 comments

I read about dynamicCompressionBeforeCache (here https://github.com/MicrosoftDocs/iis-docs/blob/master/iis/configuration/system.webServer/urlCompression.md) and I read it as if setting it to true. The response will be compressed every time, whether cached or not cached.

Especially this "When dynamicCompressionBeforeCache is false, IIS returns the uncompressed response until the compressed response has been added to the cache directory." says it pretty clearly.

However my experience was that when the setting is set to true. The response are only compressed sometimes and almost never on slightly larger files (> 50 kb). Quite the opposite of what I read. This issue only occured for me with .NET Core websites. On .NET Framework websites the response seemed to be compressed everytime.

Please make sure the information is correct or make it more clear.

appelgran avatar Jun 10 '20 12:06 appelgran