Search code examples
asp.net-mvc-3web-sqloffline-storage

Making websites available offline


I am using HTML5 offline storage. The goal is to make the whole site available offline. So intuitively, no server requests means all the pages need to be on the client. The only way I know of to accomplish such a task is to make the site into one page then show hide portions with jquery when the user "navigates". Is there a better way?


Solution

  • Be careful that your jquery does not still point to the cloud. You'll need to save the relevant .js files locally.

    N.B. If your whole site can be generated and saved as individual .html files then all you need to do is to save these files in the correct (relative) directory structure.