added caching to home page