summaryrefslogtreecommitdiffstats
path: root/mediaproxy
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-15 00:35:04 -0700
committerAndrew Godwin2022-12-15 00:43:39 -0700
commit69f1b3168ac3f29fc4bafba0418769248b10062a (patch)
tree23b84b73be1f791d20c844ab4435152f8b182804 /mediaproxy
parente0053b69ded06ef246db6239baeea87617a2621c (diff)
downloadtakahe-69f1b3168ac3f29fc4bafba0418769248b10062a.tar.gz
takahe-69f1b3168ac3f29fc4bafba0418769248b10062a.tar.bz2
takahe-69f1b3168ac3f29fc4bafba0418769248b10062a.zip
Improve cacheability
Diffstat (limited to 'mediaproxy')
-rw-r--r--mediaproxy/views.py1
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",
},
)