mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 23:42:37 -07:00
Add Cache-Control header for newsletter images (Fixes Tautulli/Tautulli-Issues#71)
This commit is contained in:
parent
04fcd78102
commit
031d078bc2
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue