WebPagetest Forums
wptdriver prevents caching - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: wptdriver prevents caching (/showthread.php?tid=13715)

wptdriver prevents caching - ash - 05-12-2015 07:03 PM


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.

RE: wptdriver prevents caching - ash - 05-26-2015 01:28 AM

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.

RE: wptdriver prevents caching - ash - 06-10-2015 11:33 PM

Does anyone have similar issue?

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/

RE: wptdriver prevents caching - pmeenan - 06-11-2015 12:06 AM

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?

RE: wptdriver prevents caching - ash - 06-11-2015 12:07 AM

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

I raised an issue on github: https://github.com/WPO-Foundation/webpagetest/issues/448

RE: wptdriver prevents caching - ash - 07-03-2015 06:34 PM

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?