implement caching of the markdown generated html to redis