开发者

How to preload .swf file and cache it for future page requests?

开发者 https://www.devze.com 2022-12-24 04:05 出处:网络
I am using swfupload to upload f开发者_如何转开发iles on a website, the problem that every time the user open the page which contains the upload button, the page loads completely then the flash file s

I am using swfupload to upload f开发者_如何转开发iles on a website, the problem that every time the user open the page which contains the upload button, the page loads completely then the flash file start loading from scratch every time the user visit the page with no cache.

Is there a way to preload and cache .swf files in my asp.net page?


Have you tried using a cache manifest?
It is made for offline web applications, but maybe could help also with your problem.


I found this page http://demo.swfupload.org/Documentation/#settingsobject which describes there how to setup the swfupload object parameters, and i found a very useful parameter: prevent_swf_caching : false, which made my object caches on the page, and also loading faster.

0

精彩评论

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

关注公众号