blob: e7e173fbc93017b66f331ef734d67833fc3b76f5 [file] [log] [blame]
Test redirect caching
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
running 24 tests
--------Testing loads from disk cache--------
response headers: {"Status":"301","Location":"unique-cacheable"}
response source: Disk cache
response headers: {"Status":"302","Location":"unique-cacheable"}
response source: Network
response headers: {"Status":"303","Location":"unique-cacheable"}
response source: Network
response headers: {"Status":"307","Location":"unique-cacheable"}
response source: Network
response headers: {"Status":"301","Location":"/cache/resources/compass-no-cache.jpg"}
response source: Disk cache after validation
response headers: {"Status":"302","Location":"/cache/resources/compass-no-cache.jpg"}
response source: Network
response headers: {"Status":"303","Location":"/cache/resources/compass-no-cache.jpg"}
response source: Network
response headers: {"Status":"307","Location":"/cache/resources/compass-no-cache.jpg"}
response source: Network
response headers: {"Status":"301","Location":"unique-cacheable","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"302","Location":"unique-cacheable","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"303","Location":"unique-cacheable","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"307","Location":"unique-cacheable","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"301","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"302","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"303","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"307","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"301","Location":"unique-cacheable","Cache-control":"max-age=100"}
response source: Disk cache
response headers: {"Status":"302","Location":"unique-cacheable","Cache-control":"max-age=100"}
response source: Disk cache
response headers: {"Status":"303","Location":"unique-cacheable","Cache-control":"max-age=100"}
response source: Disk cache
response headers: {"Status":"307","Location":"unique-cacheable","Cache-control":"max-age=100"}
response source: Disk cache
response headers: {"Status":"301","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=100"}
response source: Disk cache after validation
response headers: {"Status":"302","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=100"}
response source: Disk cache after validation
response headers: {"Status":"303","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=100"}
response source: Disk cache after validation
response headers: {"Status":"307","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=100"}
response source: Disk cache after validation
--------Testing loads through memory cache (XHR behavior)--------
response headers: {"Status":"301","Location":"unique-cacheable"}
response source: Memory cache
response headers: {"Status":"302","Location":"unique-cacheable"}
response source: Network
response headers: {"Status":"303","Location":"unique-cacheable"}
response source: Network
response headers: {"Status":"307","Location":"unique-cacheable"}
response source: Network
response headers: {"Status":"301","Location":"/cache/resources/compass-no-cache.jpg"}
response source: Memory cache after validation
response headers: {"Status":"302","Location":"/cache/resources/compass-no-cache.jpg"}
response source: Network
response headers: {"Status":"303","Location":"/cache/resources/compass-no-cache.jpg"}
response source: Network
response headers: {"Status":"307","Location":"/cache/resources/compass-no-cache.jpg"}
response source: Network
response headers: {"Status":"301","Location":"unique-cacheable","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"302","Location":"unique-cacheable","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"303","Location":"unique-cacheable","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"307","Location":"unique-cacheable","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"301","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"302","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"303","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"307","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"301","Location":"unique-cacheable","Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Status":"302","Location":"unique-cacheable","Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Status":"303","Location":"unique-cacheable","Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Status":"307","Location":"unique-cacheable","Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Status":"301","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=100"}
response source: Memory cache after validation
response headers: {"Status":"302","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=100"}
response source: Memory cache after validation
response headers: {"Status":"303","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=100"}
response source: Memory cache after validation
response headers: {"Status":"307","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=100"}
response source: Memory cache after validation
--------Testing loads through memory cache (subresource behavior)--------
response headers: {"Status":"301","Location":"unique-cacheable"}
response source: Memory cache
response headers: {"Status":"302","Location":"unique-cacheable"}
response source: Network
response headers: {"Status":"303","Location":"unique-cacheable"}
response source: Network
response headers: {"Status":"307","Location":"unique-cacheable"}
response source: Network
response headers: {"Status":"301","Location":"/cache/resources/compass-no-cache.jpg"}
response source: Memory cache after validation
response headers: {"Status":"302","Location":"/cache/resources/compass-no-cache.jpg"}
response source: Network
response headers: {"Status":"303","Location":"/cache/resources/compass-no-cache.jpg"}
response source: Network
response headers: {"Status":"307","Location":"/cache/resources/compass-no-cache.jpg"}
response source: Network
response headers: {"Status":"301","Location":"unique-cacheable","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"302","Location":"unique-cacheable","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"303","Location":"unique-cacheable","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"307","Location":"unique-cacheable","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"301","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"302","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"303","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"307","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"301","Location":"unique-cacheable","Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Status":"302","Location":"unique-cacheable","Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Status":"303","Location":"unique-cacheable","Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Status":"307","Location":"unique-cacheable","Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Status":"301","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=100"}
response source: Memory cache after validation
response headers: {"Status":"302","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=100"}
response source: Memory cache after validation
response headers: {"Status":"303","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=100"}
response source: Memory cache after validation
response headers: {"Status":"307","Location":"/cache/resources/compass-no-cache.jpg","Cache-control":"max-age=100"}
response source: Memory cache after validation
PASS successfullyParsed is true
TEST COMPLETE