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

I use swfupload to upload files to a website, that every time a user opens a page containing a download, the page loads completely, then the flash file file starts to load from scratch every time the user visits the page without a cache.

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

+4
source share
2 answers

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

0
source

Have you tried using the cache manifest ?
It is designed for stand-alone web applications, but maybe it can help in your problem.

+1
source

Source: https://habr.com/ru/post/1304983/


All Articles