- From: Noam Rosenthal <notifications@github.com>
- Date: Tue, 28 Sep 2021 03:52:08 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/issues/590/929076576@github.com>
I created a table summarizing the current browser behavior, based on [this test](https://github.com/web-platform-tests/wpt/pull/30981). The test fetches different resources with different response types (Cache enabled/disabled or 404 error). The values in the table mean the following: - *None*: preloaded resource is not reused. - *Multiple*: preloaded resource is used for subsequent requests. - *Once*: preloaded resource is used for one subsequent request, the next one will re-fetch the resource. <table> <thead> <td>Resource <td>Response <td>Chrome <td>Firefox <td>Safari <tbody> <tr> <td rowspan="3">Fetch <td>Cache <td>Multiple <td rowspan="3">None <td>Multiple <tr> <td>No Cache <td rowspan="2">None <td rowspan="2">None <tr> <td>Error <tr> <td rowspan="3">Fetch with `force-cache` <td>Cache <td colspan="3">Multiple <tr> <td>No Cache <td colspan="3">None <tr> <td>Error <td colspan="2">Multiple <td>Ignore <tr> <td rowspan="3">Valid image <td>Cache <td rowspan="2">Once <td rowspan="2" colspan="2">Multiple <tr> <td>No Cache <tr> <td>Error <td>Multiple <td>Once <td>Multiple <tr> <td rowspan="3">Invalid image <td>Cache <td>Multiple <td> Once <td> Multiple <tr> <td>No Cache <td colspan="2" rowspan="2">Once <td rowspan="2"> None <tr> <td>Error <tr> <td rowspan="3">Script <td>Cache <td>Multiple <td> Once <td rowspan="3">Multiple <tr> <td>No Cache <td colspan="2">Once <tr> <td>Error <td colspan="2">None <tr> <td rowspan="3">Style <td>Cache <td colspan="3">Multiple <tr> <td>No Cache <td>Once <td colspan="2">Multiple <tr> <td>Error <td colspan="2">None <td>Multiple </table> -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/590#issuecomment-929076576
Received on Tuesday, 28 September 2021 10:52:20 UTC