| Test that responses with HTTP status code 204 are cacheable |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| running 3 tests |
| |
| --------Testing loads from disk cache-------- |
| response headers: {"Status":"204","Cache-control":"max-age=0"} |
| response source: Network |
| |
| response headers: {"Status":"204","Cache-control":"max-age=100"} |
| response source: Disk cache |
| |
| response headers: {"Status":"204","Last-Modified":"now(-1000)"} |
| response source: Disk cache |
| |
| --------Testing loads through memory cache (XHR behavior)-------- |
| response headers: {"Status":"204","Cache-control":"max-age=0"} |
| response source: Network |
| |
| response headers: {"Status":"204","Cache-control":"max-age=100"} |
| response source: Memory cache |
| |
| response headers: {"Status":"204","Last-Modified":"now(-1000)"} |
| response source: Memory cache |
| |
| --------Testing loads through memory cache (subresource behavior)-------- |
| response headers: {"Status":"204","Cache-control":"max-age=0"} |
| response source: Network |
| |
| response headers: {"Status":"204","Cache-control":"max-age=100"} |
| response source: Memory cache |
| |
| response headers: {"Status":"204","Last-Modified":"now(-1000)"} |
| response source: Memory cache |
| |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |