def METHOD_NAME(self):
    """This method is executed at the beginning of each request.
    """
    super().METHOD_NAME()
    self.url = Url(get_url_root(self.request.path))
    self.set_header("Cache-Control", "no-cache, must-revalidate")