There was an error while loading. Please reload this page.
1 parent 64fbad3 commit a3c75aaCopy full SHA for a3c75aa
1 file changed
invenio_s3/helpers.py
@@ -96,5 +96,7 @@ def redirect_stream(
96
if cache_timeout is not None:
97
rv.cache_control.max_age = cache_timeout
98
rv.expires = int(time() + cache_timeout)
99
+ else:
100
+ rv.cache_control.no_cache = True
101
102
return rv
0 commit comments