This could be useful when generating static html pages https://developer.mozilla.org/en-US/docs/HTML/Using_the_application_cache