FLV cache headers?
mdounin at mdounin.ru
Sat Dec 31 11:03:36 UTC 2011
On Thu, Dec 29, 2011 at 02:25:35PM -0500, Ilan Berkner wrote:
> Can FLV files be cached to the browser? I'm passing the "expires max" tag
> which looks like its working as this is the response header:
> HTTP/1.1 200 OK
> Server: nginx/1.1.12
> Date: Thu, 29 Dec 2011 19:13:09 GMT
> Content-Type: video/x-flv
> Content-Length: 8919417
> Last-Modified: Thu, 29 Dec 2011 04:13:19 GMT
> Connection: keep-alive
> Expires: Thu, 31 Dec 2037 23:55:55 GMT
> Cache-Control: max-age=315360000
> Accept-Ranges: bytes
> but when I look in Firebug, there's no cache header and reloading the
> page, well, reloads the file.
> Can anyone explain? are FLV files not cacheable by browsers as they
> are considered streams?
I suspect the problem isn't browsers, but Flash.
More information about the nginx