adds caching to index.html