Show More
@@ -404,7 +404,7 b' class FileFindHandler(web.StaticFileHandler):' | |||||
404 | # disable browser caching, rely on 304 replies for savings |
|
404 | # disable browser caching, rely on 304 replies for savings | |
405 | if "v" not in self.request.arguments or \ |
|
405 | if "v" not in self.request.arguments or \ | |
406 | any(self.request.path.startswith(path) for path in self.no_cache_paths): |
|
406 | any(self.request.path.startswith(path) for path in self.no_cache_paths): | |
407 |
self. |
|
407 | self.set_header("Cache-Control", "no-cache") | |
408 |
|
408 | |||
409 | def initialize(self, path, default_filename=None, no_cache_paths=None): |
|
409 | def initialize(self, path, default_filename=None, no_cache_paths=None): | |
410 | self.no_cache_paths = no_cache_paths or [] |
|
410 | self.no_cache_paths = no_cache_paths or [] |
General Comments 0
You need to be logged in to leave comments.
Login now