Added caching for the main page.