mainly caching of mainpage