mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-10 06:57:34 +01:00
Remove no-cache
from thumbnail cache control
This commit is contained in:
parent
9e6699c549
commit
28864740a0
@ -103,5 +103,5 @@ def make_thumbnail(img, level):
|
||||
resize_and_crop(source_filepath, cache_filepath, (w, h))
|
||||
|
||||
res = send_file(cache_filepath)
|
||||
res.cache_control.max_age = 7*24*60*60
|
||||
res.headers["Cache-Control"] = "max-age=604800" # 1 week
|
||||
return res
|
||||
|
Loading…
Reference in New Issue
Block a user