code: def all_posts(self):
          
          rev = self.db.get('site:rev')
          if int(rev) != self.revision:
              self.reload_site()
  
          return self._all_posts
docs: Get all_posts, reloading the site if needed.