[Webkit-unassigned] [Bug 149974] kFigDiskCacheProviderError_InvalidCacheFile when loading movie

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 28 12:12:44 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=149974

--- Comment #3 from Eric Carlson <eric.carlson at apple.com> ---
AVFoundation, which WebKit uses for media loading and playback, requires byte range support, which server doesn't support. It includes a "accept-ranges: bytes" header in a request for just the first two bytes: 

eric% curl -I --range 0-1 https://static.tonicdev.pw/assets/videos/data_viz.mp4
HTTP/1.1 200 OK
Server: cloudflare-nginx
Date: Wed, 28 Oct 2015 19:04:04 GMT
Content-Type: video/mp4
Content-Length: 4081128
Connection: keep-alive
Set-Cookie: __cfduid=d01b1ec81f4b49ff449b4fa6dedc5fe321446059044; expires=Thu, 27-Oct-16 19:04:04 GMT; path=/; domain=.tonicdev.pw; HttpOnly
x-powered-by: Express
strict-transport-security: max-age=15552000
set-cookie: _csrf=hBBF_ra-d_X0oLab_OgEzupx; Path=/
set-cookie: csrf-token=9a0Stl5X-JCXPH6Ad1WeUJHf7HLRucRsy23c; Path=/
accept-ranges: bytes
cache-control: public, max-age=1209600
last-modified: Tue, 18 Aug 2015 17:24:48 GMT
etag: W/"3e45e8-228937250"
x-newrelic-app-data: PxQGUVNQAQQFR1hWAwIHUVQTGhEnHhMQVRFLCEsXc3dnShZDHVEfUkoGB1BRWwoCA1FNVgcJBldWCRoRA1FaVFZSC1VeAQEHBl0bTVcAXxEBaw==
CF-Cache-Status: MISS
Expires: Wed, 11 Nov 2015 19:04:04 GMT
X-Content-Type-Options: nosniff
CF-RAY: 23c8e783ca12286a-SJC

but it delivers the entire file:

eric% curl -O --range 0-1 https://static.tonicdev.pw/assets/videos/data_viz.mp4 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3985k  100 3985k    0     0   873k      0  0:00:04  0:00:04 --:--:--  929k

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151028/ef7b3299/attachment.html>


More information about the webkit-unassigned mailing list