Reputation: 2987
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 demand is less high?
Thanks, Martijn
Upvotes: 0
Views: 165
Reputation: 9332
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.
Upvotes: 1