开发者

caching flv data in flex

I am developing an eLearning application in Flex which shows flv movies hosted on a webserver. If the app has many simultaneous users the download demand is quite high because a lot of users need to download the (same) movie(s). Is there a way I can precache this data in my flex client like storing it in the browsercache or something so that for later sessions the bandwidth de开发者_开发问答mand is less high?

Thanks, Martijn


Browsers will naturally cache the flvs. Make sure you don't have no-cache headers set on the flvs. However, the cache can fill up, and nothing prevents users from clearing their browser cache.

A better solution in my opinion would be to host the flvs on something like amazon cloud front.


Edit Also, you should consider moving from flv to h.264 as it has been supported since Flash Player 9 (version 9,0,115,0) Update 3 and has much better compression than flvs.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜