Added HTML5 Application Caching

This speeds up page load time. But it has some unintended side effects.

CC: @drogus