Modified web.js to read index.html to cache and send cached index on request.