Forums / General Discussions / Post cache substitution is not compatible with modules in the IIS integrated pipeline that modify the response buffers.

Post cache substitution is not compatible with modules in the IIS integrated pipeline that modify the response buffers.

4 posts, 1 answered
  1. El Barto
    El Barto avatar
    35 posts
    Registered:
    28 Apr 2008
    23 Jun 2012
    Link to this post
    Today I upgraded my Sitefinity project to version 5.0.2860.0 Unfortunately this didn't work as expected. When I login everything seems to work as expected, but as soon I logout I get the exception underneath. I get this exception on every page except the login page. As soon as I login everything works as expected again. What have I done wrong in the upgrade?


    Post cache substitution is not compatible with modules in the IIS integrated pipeline that modify the response buffers.  Either a native module in the pipeline has modified an HTTP_DATA_CHUNK structure associated with a managed post cache substitution callback, or a managed filter has modified the response.
  2. Jochem Bökkers
    Jochem Bökkers avatar
    773 posts
    Registered:
    13 Aug 2007
    25 Jun 2012
    Link to this post
    Hey El Barto,

    This happens because of a default setting in the web.config in v5.0 (which will be removed in the next versions)
    <urlCompression
     doDynamicCompression="true"
     doStaticCompression="true"
     dynamicCompressionBeforeCache="set this to false instead of true"/>

    Check the dynamicCompressionBeforeCache line in your web.config, it probably is set to true, once set to false everything works again. 

    Jochem
    Answered
  3. El Barto
    El Barto avatar
    35 posts
    Registered:
    28 Apr 2008
    25 Jun 2012
    Link to this post
    That solved it. Thanks Jochem
  4. CadPilot
    CadPilot avatar
    8 posts
    Registered:
    09 Dec 2005
    03 Jul 2012
    Link to this post
    Thanks for this...got me running on arvixe after considerable consternation.
4 posts, 1 answered