Add Cache-Control header for newsletter images (Fixes Tautulli/Tautulli-Issues#71)

This commit is contained in:
JonnyWong16 2018-05-06 08:34:21 -07:00
parent 04fcd78102
commit 031d078bc2

View file

@ -5661,6 +5661,7 @@ class WebInterface(object):
except NotFound:
return
cherrypy.response.headers['Cache-Control'] = 'max-age=2592000' # 30 days
return self.image(args[1], refresh=True)
newsletter_uuid = args[0]