def hdr_nocache(self): res = Response() res.expires = "Fri, 01 Jan 1980 00:00:00 GMT" res.pragma = "no-cache" res.cache_control = "no-cache, max-age=0, must-revalidate" return Response()