Fixing location.js request.
Cache all the pages.