| Test for 'max-stale' request header |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| running 36 tests |
| |
| --------Testing loads from disk cache-------- |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=0"} |
| response source: Disk cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=0"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0"} |
| response source: Disk cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=100"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=100"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100"} |
| response source: Disk cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=0, max-age=0"} |
| response source: Disk cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=0, max-age=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0, max-age=0"} |
| response source: Disk cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0, max-age=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale, max-age=0"} |
| response source: Disk cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale, max-age=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale, max-age=0"} |
| response source: Disk cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale, max-age=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=100, max-age=0"} |
| response source: Disk cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=100, max-age=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100, max-age=0"} |
| response source: Disk cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100, max-age=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=0, max-age=100"} |
| response source: Disk cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=0, max-age=100"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0, max-age=100"} |
| response source: Disk cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0, max-age=100"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale, max-age=100"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale, max-age=100"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale, max-age=100"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale, max-age=100"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=100, max-age=100"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=100, max-age=100"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100, max-age=100"} |
| response source: Disk cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100, max-age=100"} |
| response source: Network |
| |
| --------Testing loads through memory cache (XHR behavior)-------- |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=0"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=100"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=0, max-age=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=0, max-age=0"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0, max-age=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0, max-age=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale, max-age=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale, max-age=0"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale, max-age=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale, max-age=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=100, max-age=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=100, max-age=0"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100, max-age=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100, max-age=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=0, max-age=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=0, max-age=100"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0, max-age=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0, max-age=100"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale, max-age=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale, max-age=100"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale, max-age=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale, max-age=100"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=100, max-age=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=100, max-age=100"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100, max-age=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100, max-age=100"} |
| response source: Network |
| |
| --------Testing loads through memory cache (subresource behavior)-------- |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=0"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=100"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=0, max-age=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=0, max-age=0"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0, max-age=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0, max-age=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale, max-age=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale, max-age=0"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale, max-age=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale, max-age=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=100, max-age=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=100, max-age=0"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100, max-age=0"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100, max-age=0"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=0, max-age=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=0, max-age=100"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0, max-age=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=0, max-age=100"} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale, max-age=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale, max-age=100"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale, max-age=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale, max-age=100"} |
| response source: Disk cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match"} |
| request headers: {"Cache-control":"max-stale=100, max-age=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100"} |
| request headers: {"Cache-control":"max-stale=100, max-age=100"} |
| response source: Memory cache |
| |
| response headers: {"Cache-control":"max-age=0","ETag":"match","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100, max-age=100"} |
| response source: Memory cache after validation |
| |
| response headers: {"Cache-control":"max-age=100","Age":"200"} |
| request headers: {"Cache-control":"max-stale=100, max-age=100"} |
| response source: Network |
| |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |