New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 683290 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 689989
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

videos aren't loaded from cache when etag is present (despite cache-control headers)

Reported by jacobtho...@gmail.com, Jan 20 2017

Issue description

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

Steps to reproduce the problem:
1. define a <video> tag with loop attribute (and point it to a source that has a cache-control and etag header set)
2. notice that the video is never loading from cache (and that each loop requests the video from the server again)

What is the expected behavior?
That the video will be loaded from cache

What went wrong?
All files hosted on s3 automatically have an etag (and this is not somethign developers have access to change/remove).

Looking around, it seems like the etag may be what is causing this issue.

You can see an example of this problem by watching the network tab in chrome dev tools for both snapchat:

https://www.snapchat.com/download

or bumpers.fm websites:

http://bumpers.fm

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 55.0.2883.95  Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 24.0 r0
 

Comment 1 by ajha@chromium.org, Jan 23 2017

Labels: Needs-Triage-M55
Components: -Blink>HTML Blink>Media>Video Blink>Network
Components: Blink>Loader
Components: -Blink>Network -Blink>Loader -Blink>Media>Video Internals>Media>Network
Owner: hubbe@chromium.org
Hmm, that looks bad. It should work if the etag has the same value AFAIK.

Hubbe, are you the right person to look into this?

Comment 5 by hubbe@chromium.org, Jan 29 2017

Depends on where the problem is.
I added the etag to the media code, so I should be involved, but the problem might be in the HTTP cache code, which hopefully someone else knows better than I do.

Status: Assigned (was: Unconfirmed)

Comment 7 by hubbe@chromium.org, Mar 2 2017

Mergedinto: 689989
Status: Duplicate (was: Assigned)

Sign in to add a comment