FLV cache headers?
luky-37 at hotmail.com
Sat Dec 31 11:49:49 UTC 2011
Afaik Flash *should* support that way of caching, at least if not requested via ?start=xx (when seeking). I think you should not set a caching value of more than a year in max-age and Expires headers (it barely makes sense anyway).
Also its probably a good idea to use the same caching value in both Expires and max-age headers, so you have consistent behavior on the client side. In this request you set max-age to 10 years and Expires to 2037 (26 years).
Date: Thu, 29 Dec 2011 14:25:35 -0500
Subject: FLV cache headers?
From: ilan at time4learning.com
To: nginx at nginx.org
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
Date: Thu, 29 Dec 2011 19:13:09 GMT
Last-Modified: Thu, 29 Dec 2011 04:13:19 GMT
Expires: Thu, 31 Dec 2037 23:55:55 GMT
Accept-Ranges: bytesbut 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?
nginx mailing list
nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx