implemented cache for front page and genres(index/show)