How to preload .swf file and cache it for future page requests?
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.
精彩评论