After many weeks spent with offline caching, the answer is no, you either cache or don't cache, setting the cache attribute on the client side has no effect. You could consider offering an alternate url for the caching version, be aware that the page is also implicitly cached as a "master entry I am at a loss to understand why you would want to offline cache jquery though, since it is likely to be served with very long expiry anyway You may wish to conside offline storage as an alternative. Store the text of the scripts and inject them into the DOM on load.
If not cached fetch using Ajax and inject the response, as creating a script tag with the src won't load the script.
After many weeks spent with offline caching, the answer is no, you either cache or don't cache, setting the cache attribute on the client side has no effect. You could consider offering an alternate url for the caching version, be aware that the page is also implicitly cached as a "master entry". I am at a loss to understand why you would want to offline cache jquery though, since it is likely to be served with very long expiry anyway.
You may wish to conside offline storage as an alternative. Store the text of the scripts and inject them into the DOM on load. If not cached fetch using Ajax and inject the response, as creating a script tag with the src won't load the script.
You would probably want to offline cache jquery if you want your web app to be available when the browser is offline. Putting the source of javascript code into offline storage is probably the wrong way to achieve this goal - the cache manifest is the proper way. – 1800 INFORMATION Feb 27 at 22:40.
I am using the new cache manifest functionality from HTML5 to cache my web app so it will work offline. This works fine. However, I want to give my users the option of whether they want the content cached offline.
Is there any way to trigger that an application be cached at runtime, using JavaScript, and not have it automatically done when the page is loaded. Basically, when the button is clicked, I dynamically set the manifest attribute of the html element. This works (in the sense the element is set), but it does not cause the browser to then cache the page.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.