Commits

danjac  committed c820f89

selective cached

  • Participants
  • Parent commits 4e50b8d

Comments (0)

Files changed (1)

File newsmeme/__init__.py

         return _get_tags()
 
     @cache.cached()
-    def _get_tags():
+    def _get_tags(key_prefix="tags"):
         tags = Tag.query.order_by(Tag.num_posts.desc()).limit(10).all()
         return dict(tags=tags)