"Manual" control HTML5 cache

I would like to have the option of JS to call some function that would add a specific file in the cache. On the basis of articles, there is only one possibility: to use the file manifest. Can I connect this file with DOM?
October 8th 19 at 00:30
1 answer
October 8th 19 at 00:32
Dynamic manifest file can be mounted (to work) only by using iframe, but this method cannot be combined with conventional caching due to a bug in FF.

At myself I use Application Cache for the browsers Opera, Safari and Chrome, but for the rest the usual the preload elements by using JS.

Example perezagruzki images on JS:
function PreLoad(image) {<br> if (!(image in preload)) {<br> preload[image] = new Image();<br> preload[image].src = 'images/'+image;<br> }<br> }
And what kind of bug in FF?
Asking because already started making a web service with JS API, which easily manages the cache. Something like cache.add('logo.png'); - Lewis51 commented on October 8th 19 at 00:35

Find more questions by tags APIWeb DevelopmentHTMLJavaScriptCaching