Nov 22, 2011, 11:36 PM
[CLOSED] Compression problem with dynamicCompressionBeforeCache="true"
Hi
I am currently using the lastest version from svn, but I an getting a content enconding error, which doesnt allow me to run my website.
I traced down to ext.net, because when I remove it completely from my web.config, the error is gone.
For the error to happen, please use this steps:
1. Use IIS, not the IIS express or Visual Studio Web Server;
2. Enable Dynamic Compression in the web site;
3. Enable outputcache (<caching> <outputCache enableOutputCache="true" /> <caching>)
4. Also add this line to the web.config <urlCompression doStaticCompression="true" doDynamicCompression="true" dynamicCompressionBeforeCache="true" />
If you remove dynamicCompressionBeforeCache="true" the error also doesnt occur. But, if I dont have this line, I lose big on performance.
Thanks
I am currently using the lastest version from svn, but I an getting a content enconding error, which doesnt allow me to run my website.
I traced down to ext.net, because when I remove it completely from my web.config, the error is gone.
For the error to happen, please use this steps:
1. Use IIS, not the IIS express or Visual Studio Web Server;
2. Enable Dynamic Compression in the web site;
3. Enable outputcache (<caching> <outputCache enableOutputCache="true" /> <caching>)
4. Also add this line to the web.config <urlCompression doStaticCompression="true" doDynamicCompression="true" dynamicCompressionBeforeCache="true" />
If you remove dynamicCompressionBeforeCache="true" the error also doesnt occur. But, if I dont have this line, I lose big on performance.
Thanks
Last edited by Daniil; Nov 23, 2011 at 12:37 PM.
Reason: [CLOSED]