How did you do your IE6 repeat view test (did you close and re-open the browser)?
Aaron Peters bumped into this the other day and was going to work on a blog article about it but it turns out that if you add a vary header for the content encoding but don’t gzip the actual content IE will not honor the cache. In other words, it works fine for text that gets gzipped but don’t add the header to image responses.
Set the Vary header correctly for Internet Explorer.
Internet Explorer does not cache any resources that are served with the Vary header and any fields but Accept-Encoding and User-Agent. To ensure these resources are cached by IE, make sure to strip out any other fields from the Vary header, or remove the Vary header altogether if possible
I need to add a check to pagetest to detect the vary header and fail those assets.
aha seems like ill have to not put the vary header for non-text files…
For the IE6 test i did it in a vm and monitoring the http using Wireshark.
Did a CRTL+R to force reload. saw all files being fetched, then just pressed enter on the addressbar. Now after reading your response i tried the refresh icon, IE6 sent the if-modified-since requests again… so confirmed this is IE issue and not webpagetest…
Now i need to search on how to set headers based on types in Nginx… will report back if Vary fixes it or not.[hr]
ok fixed using nginx’s gzip_vary directive