Turn off GZIP

Chrome was trying to decompress .NET issued JS valdiation files, which were already cached causing issues, when refreshing the browser.

This was causing the Page_Validators ( .NET JS Validators ) being unset and all client side javascript validation was not running.

You can prevent chrome/firefox dev tools from caching content but I got IIS to stop compressing the content within th web.config. Obviously don’t leave this on in production and only add this into the web.config.debug.


 <urlCompression doStaticCompression="false" doDynamicCompression="false"/>


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s