This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ class ProxyStaticHandler(SimpleHTTPRequestHandler):
|
||||
self.send_header("Content-Type", ctype)
|
||||
self.send_header("Content-Length", content_length)
|
||||
if "text/html" in ctype or "text/javascript" in ctype or "application/javascript" in ctype:
|
||||
self.send_header("Cache-Control", "no-cache, no-store, must-revalidate")
|
||||
self.send_header("Cache-Control", "no-cache, no-store, must-revalidate, s-maxage=0")
|
||||
self.send_header("Pragma", "no-cache")
|
||||
self.send_header("Expires", "0")
|
||||
self.send_header("Last-Modified", self.date_time_string(fs.st_mtime))
|
||||
|
||||
Reference in New Issue
Block a user