Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gobengo/debug-safari-cache-bug
https://github.com/gobengo/debug-safari-cache-bug
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gobengo/debug-safari-cache-bug
- Owner: gobengo
- Created: 2015-02-25T20:39:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-02-25T20:43:52.000Z (over 9 years ago)
- Last Synced: 2024-10-03T15:32:58.096Z (about 1 month ago)
- Language: HTML
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Reduced test environment to debug an annoying Safari bug which makes it so
that the 'Vary' response header is not respected.Safari, unlike other browsers, will not make two network requests when XHRs go out two the same URL from two iframes. Even if the HTTP response includes "Vary: Origin".
If the response also only does `Access-Control-Allow-Origin: onedomain`, then reusing from cache will block one of the windows from seeing the response.
# Usage
* Serve this dir at `some port`
* Serve this dir at localhost:8081 (for the iframe)
* Access `some port`/index.html