[CLOSED] Compression problem with dynamicCompressionBeforeCache="true"

Page 1 of 2 12 LastLast
  1. #1

    [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
    Last edited by Daniil; Nov 23, 2011 at 12:37 PM. Reason: [CLOSED]
  2. #2
    Ext.Net compress own resources by default therefore I guess you have double compression (first Ext.Net, second IIS)
    You can prevent Ext.Net compression by setting gzip="false" in extnet section of web.config
    <extnet gzip="false" />
    See Sample.Web.config file in Ext.Net.Examples folder
  3. #3
    Forgot to mention, I had already tried that :/
  4. #4
    What error do you have? Please provide more details
  5. #5
    Also can you ensure response for that ext.axd requests is not compressed (you have to deactivate IIS compression first and check response by Fiddler, if response is not compressed then Ext.Net doesn't compress own resources)
  6. #6
    Tried in 3 machines, and all got the same error.

    Attached is the image of the error.

    With gzip=false, ext.net stills comes gziped. I think it is because static and dynamic compression modules are enabled.

    Thanks
    Attached Thumbnails Click image for larger version. 

Name:	1.png 
Views:	98 
Size:	14.0 KB 
ID:	3488  
  7. #7
    Ext.Net doesn't compress a page, it compresses ext.axd resources only (own web resources)

    ext.net stills comes gziped
    Do you mean resources are requested as ext.axd?
    Can you post your web.config?

    I think it is because static and dynamic compression modules are enabled.
    What modules do you mean?
  8. #8
    I am not familar with IIS compression very well. Do you know if IIS compression allows to Response.Filter functionality? Ext.Net uses Response.Filter to build correct output
  9. #9
    Quote Originally Posted by Vladimir View Post
    Ext.Net doesn't compress a page, it compresses ext.axd resources only (own web resources)


    Do you mean resources are requested as ext.axd?
    Can you post your web.config?


    What modules do you mean?
    1. yes, I mean the ext.ad resource
    2. I can send you my web.config, I cant post it public here. Does this work for you? If so, please, inform how you would like to recieve it.

    I am not familar with IIS compression very well. Do you know if IIS compression allows to Response.Filter functionality? Ext.Net uses Response.Filter to build correct output
    I dont the answer to this :(
  10. #10
    Please send to vladimir@object.net
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] Hidden="true" behaves as Visible="false"
    By marco.morreale in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: May 28, 2012, 3:17 PM
  2. Replies: 16
    Last Post: May 18, 2012, 7:29 AM
  3. Replies: 5
    Last Post: May 02, 2012, 5:37 PM
  4. [CLOSED] DropDownField with Grow="true" and GrowMax="xxx"
    By deejayns in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jan 12, 2012, 12:00 PM
  5. [CLOSED] SelectBox: Problem with characters "<" and ">"
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 03, 2011, 6:43 AM

Posting Permissions