mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Testing fix for cache issues causing blank pages, caching has been turned off.
This commit is contained in:
parent
f247499289
commit
84da4147fb
1 changed files with 4 additions and 0 deletions
|
@ -213,10 +213,14 @@ class MainHandler(RequestHandler):
|
|||
return super(MainHandler, self).redirect(sickbeard.WEB_ROOT + url, permanent, status)
|
||||
|
||||
def get(self, *args, **kwargs):
|
||||
self.set_header('Cache-Control', "max-age=0,no-cache,no-store")
|
||||
|
||||
response = self._dispatch()
|
||||
self.finish(response)
|
||||
|
||||
def post(self, *args, **kwargs):
|
||||
self.set_header('Cache-Control', "max-age=0,no-cache,no-store")
|
||||
|
||||
response = self._dispatch()
|
||||
self.finish(response)
|
||||
|
||||
|
|
Loading…
Reference in a new issue