New issue
Advanced search Search tips

Issue 918753 link

Starred by 6 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Toggling "Disable Cache" leads to disk-cached file loaded without response headers

Reported by armork...@gmail.com, Jan 3

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Steps to reproduce the problem:
1. Open Dev tools and go to networks tab. Select Disable Cache
2. Go to https://codeninja.co/ 
3. Filter version.js in xhr
4. Uncheck Disable Cache
5. Reload page
6. Check version.js. File is loaded from cache but Response Headers are missing leading to it being blocked due to missing CORS headers. 

What is the expected behavior?
Response headers should also be present when loaded from cache

What went wrong?
Response headers are missing when file is loaded from cache

Did this work before? N/A 

Chrome version: 71.0.3578.98  Channel: stable
OS Version: OS X 10.13.6
Flash Version: 

This issue only happens when playing with Disable Cache. If Cache is enabled from the start and cache is cleared, the file is loaded from disk cache with the correct headers.

File where issue is observed is https://cdn.swaychat.com/v2/widget/assets/version.js
 
See  issue 855713 , your issue is also due to this old Amazon S3 CORS bug.
Also "Provisional headers are shown" is very annoying for debugging, please fix it.
Labels: Needs-Triage-M71
Cc: susan.boorgula@chromium.org yhirano@chromium.org
Labels: Triaged-ET
armorkram@ Thanks for the issue.

As per comment #1, as this issue is similar to  issue 855713 , CC'ing Dev yhirano@ and requesting for further updates on this issue.

Thanks..
Owner: jarhar@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 6 by vamshi.kommuri@chromium.org, Yesterday (44 hours ago)

Cc: vamshi.kommuri@chromium.org
 Issue 923580  has been merged into this issue.

Sign in to add a comment