开发者

S3 QuickTime Vid loaded w/ exp URL in 3 months not cached. Why?

开发者 https://www.devze.com 2023-01-10 09:04 出处:网络
I am using the ruby gem AWS::S3 to generate expiring urls for my assets on S3, some of them are quicktime movies of size. I would prefer them not repeatedly downloaded each time requested to the clien

I am using the ruby gem AWS::S3 to generate expiring urls for my assets on S3, some of them are quicktime movies of size. I would prefer them not repeatedly downloaded each time requested to the client's browser. Since they are protected and whose access is done in authenticated urls, I set the expiration usually in 3 months, so I thought at least they only have to redownload them every three months, which is not too bad. But it didn't work. by didn't work I mean I use the quicktime object script provided by apple and with cache='true' enabled. It works for videos on garden variety webhosts, as I have tested. so i am pretty sure I have run out of options to look into o开发者_StackOverflow社区n Quicktime's end.

What do you suggest?

thank you!


Investigate the Cache-control headers that you get from S3. You can use e.g. Firebug to do this.

0

精彩评论

暂无评论...
验证码 换一张
取 消