blob: 041c97090beaa8f6cab198054ccd20da814f1c87 [file] [log] [blame]
Test permutations of various cache headers
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
running 24 tests
--------Testing loads from disk cache--------
response headers: {"Cache-control":"max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache"}
response source: Network
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-store"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-store"}
response source: Network
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, no-store"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, no-store"}
response source: Network
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-store, max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-store, max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, no-store, max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, no-store, max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"max-age=100"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-store, max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-store, max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, no-store, max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, no-store, max-age=100"}
response source: Network
--------Testing loads through memory cache (XHR behavior)--------
response headers: {"Cache-control":"max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-store"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-store"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, no-store"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, no-store"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"max-age=0"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, max-age=0"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-store, max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-store, max-age=0"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, no-store, max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, no-store, max-age=0"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, max-age=100"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-store, max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-store, max-age=100"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, no-store, max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, no-store, max-age=100"}
response source: Memory cache
--------Testing loads through memory cache (subresource behavior)--------
response headers: {"Cache-control":"max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-store"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-store"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, no-store"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, no-store"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"max-age=0"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, max-age=0"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-store, max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-store, max-age=0"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, no-store, max-age=0"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, no-store, max-age=0"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, max-age=100"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-store, max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-store, max-age=100"}
response source: Memory cache
response headers: {"Cache-control":"max-age=0"}
request headers: {"Cache-control":"no-cache, no-store, max-age=100"}
response source: Network
response headers: {"Cache-control":"max-age=100"}
request headers: {"Cache-control":"no-cache, no-store, max-age=100"}
response source: Memory cache
PASS successfullyParsed is true
TEST COMPLETE