diff options
author | Andrew Godwin | 2022-12-15 00:35:04 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-12-15 00:43:39 -0700 |
commit | 69f1b3168ac3f29fc4bafba0418769248b10062a (patch) | |
tree | 23b84b73be1f791d20c844ab4435152f8b182804 /mediaproxy | |
parent | e0053b69ded06ef246db6239baeea87617a2621c (diff) | |
download | takahe-69f1b3168ac3f29fc4bafba0418769248b10062a.tar.gz takahe-69f1b3168ac3f29fc4bafba0418769248b10062a.tar.bz2 takahe-69f1b3168ac3f29fc4bafba0418769248b10062a.zip |
Improve cacheability
Diffstat (limited to 'mediaproxy')
-rw-r--r-- | mediaproxy/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mediaproxy/views.py b/mediaproxy/views.py index a44abb6..57257f3 100644 --- a/mediaproxy/views.py +++ b/mediaproxy/views.py @@ -49,6 +49,7 @@ class BaseCacheView(View): cached_content["content"], headers={ "Content-Type": cached_content["mimetype"], + "Cache-Control": "public, max-age=3600", }, ) |