cache front page template vars in memcache

fixes #99