I am looking for a way to store almost all of JS and CSS in localstorage. I know how to do this with CSS (seems to work without crashing). However, if you try to save JS that has any HTML call, it will stop saving to local storage. Ideally, I would just like to create a list of source files for downloading the browser.
To give you an idea, I am trying to keep jQuery jQuery js and jQuery in local storage. Thus, they need to be downloaded only once.
This will greatly improve the speed of my application. I have already created version control to overwrite any old data.
one more thing ... just to make it fun ... I need a callback as soon as everything is loaded so that I can redirect the user. (any ideas on how to do this?)
Thanks for any help !!!
source
share