I have just discovered a little problem with IE. No surprise there.
If I send headers to prevent a file (htm, css, js, etc) from being cached, and that file is compressed (gzip), IE will still cache the file. I guess this is because IE is stupid and can't deal with the decompression unless it writes the file to the cache.
These are the headers I am currently sending out:
expires "Thu, 01 Jan 1970 00:00:00 GMT"
pragma "no-cache"
cache-control "no-store, no-cache, must-revalidate"
content-encoding "gzip"
content-transfer-encoding "binary"
content-length ---
Does anyone know of a workaround that doesn't involve checking the user agent string and sending uncompressed files to IE?

this is a know problem of IE 5.5 and IE 6. Microsoft provides a hotfix for this issue, but that might not help you out:
http://support.microsoft.com/?scid=k...1722&x=10&y=13
Have you tried "last-modified"?
Stefan