Added caching of generated pages, using template file for now