blob: fea128b9b37c1c8dd7003219664f72517af848ff [file] [log] [blame]
PASS HTTP cache doesn't use aged but fresh response when request contains Cache-Control: max-age=0
PASS HTTP cache doesn't use aged but fresh response when request contains Cache-Control: max-age=1
PASS HTTP cache doesn't use fresh response with Age header when request contains Cache-Control: max-age that is greater than remaining freshness
FAIL HTTP cache does use aged stale response when request contains Cache-Control: max-stale that permits its use assert_less_than: Response 2 does not come from cache expected a number less than 2 but got 2
FAIL HTTP cache does reuse stale response with Age header when request contains Cache-Control: max-stale that permits its use assert_less_than: Response 2 does not come from cache expected a number less than 2 but got 2
PASS HTTP cache doesn't reuse fresh response when request contains Cache-Control: min-fresh that wants it fresher
PASS HTTP cache doesn't reuse fresh response with Age header when request contains Cache-Control: min-fresh that wants it fresher
PASS HTTP cache doesn't reuse fresh response when request contains Cache-Control: no-cache
PASS HTTP cache validates fresh response with Last-Modified when request contains Cache-Control: no-cache
PASS HTTP cache validates fresh response with ETag when request contains Cache-Control: no-cache
PASS HTTP cache doesn't reuse fresh response when request contains Cache-Control: no-store
FAIL HTTP cache generates 504 status code when nothing is in cache and request contains Cache-Control: only-if-cached promise_test: Unhandled rejection with value: object "TypeError: can’t load from network"