wptdriver prevents caching

Hi.

I noticed that on my private instance testing machines static assets with properly set expiration headers are not cached by Internet Explorer. What is interesting this happens only when tested with webpagetest. When checked manually with fiddler, the browser caches everything properly.

What is possible reason for that? “Check for newer versions of stored pages” is set to “automatically” - default setting. I have no idea what else can interfere with caching. The only correlation I noticed is that caching problem applies to IE11. On machines running IE9 I cannot notice anything like that.

Here is an example of such behaviour: http://www.webpagetest.org/result/150525_FN_8e20698fda27b5873ffd412d44e9ad88/

For example http://cdn.webpagetest.org/pagestyle.css?v=68 is cached by IE11 when loaded while opening tested page manually.

Does anyone have similar issue?
[hr]
Another more clear example: http://www.webpagetest.org/result/150610_05_88b3261cf0ace3f9532d86a611b13c06/

why caching headers are ignored when tested by webpagetest and IE11?

Firefox behaves correctly while driven by wptdriver: http://www.webpagetest.org/result/150610_NE_6a56ee1fa51fc8026cb431430af59118/

That’s really bizarre and it doesn’t look to be universal, just specific locations: http://www.webpagetest.org/result/150610_HT_502ac7d05497f8851688dcc9a90491a0/

I wonder if it is OS-specific or if something else strange is going on. What OS are you running IE 11 on?

Yes, I have similar impression but I have too few variations of agents versions on my private WPT instance to be sure what is going on.

Resetting IE settings to defaults does not help. Some time ago removing whole windows user profile helped but not in case of IE11 now.

Sorry - forget to write that i run IE 11 on Windows 7
[hr]
I raised an issue on github: Resources not cached when tested on IE · Issue #448 · WPO-Foundation/webpagetest · GitHub

I still try to investigate deeper this issue and have just figured out that when I open pages manually with IE 11 and while dev. tools panel is active, some assets are not fetched from cache but from the server. I verified it with fiddler to be sure.

“Always refresh from server” option is not active for sure.

Maybe there is something around it that causes this behavior when testing with wptdriver?