add cache for the blog, homework 6.1 of udacity's web development course