change the way to cache the home page