Blowery Compression and MaintainScrollPositionOnPostback Errors

The blowery ASP.NET gzip module deals poorly with axd files. The axd files aren’t really files on the disk and they often are already compressed.

I don’t completely understand it, but these are the exclusions I used to get Maintain Scroll Postion On Postback to work. WebResource is related to the scroll position code, scriptresource is an ajax thing, and ebresource, I think that is yet another frameworks piece of code.

<excludedPaths>

    <add

path=“ebResource.axd“/>

    <add

path=“ebresource.axd“/>

    <add

path=“*.axd“/>

    <add

path=“webresource.axd“/>

    <add

path=“WebResource.axd“/>

    <add

path=“ScriptResource.axd“/>

    <add

path=“scriptresource.axd“/>

    <add

path=“%.axd“/>

</excludedPaths>

← Back to Tech