<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


Notes on HTTP compression in IIS 6.0

Enabling HTTP compression in IIS 6.0 provides faster transmission times between IIS and compression-enabled browsers

Compression-enabled browsers typically send the following header if they are compression-enabled: Accept-Encoding: gzip, deflate.

HTTP compression can be beneficial unless processor usage is already very high. If the % Processor Time counter is already 80 percent or higher, enabling HTTP compression is not recommended.

You can compress static files and application response files. Compressing application response files is usually called dynamic compression.

When the CPU of your server is not heavily loaded, the simplest compression strategy is to enable static and dynamic compression for all of the sites and site elements (directories and files) on the server.


Scott Forsyth has an interesting step by step article on HTTP Compression in IIS 6.0. In it he also talks about how to disable or enable compression at the site, sub-folder and file level. [Screenshots]

XCompress uses patent-pending smart compression technology to ensure that end users receive optimized responses regardless of their browser type or the type of content they are requesting.

Firefox uses HTTP 1.1 and supports compressed pages. IE 6 sends the header Accept-Encoding: gzip, deflate only when using HTTP 1.1. Fiddler can be used to inspect the HTTP headers.

In IE as PDF documents fail when transferred in compressed form, the HTTP Compression feature for dynamically generated PDFs or similar files should be avoided or done only after adequate testing.

You can quick test a site for gzip encoding at Leknor

Also see:
"There was an error opening the document; the file does not exist"

Labels: ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

»

Post a Comment