We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4562f7b commit 70db0ffCopy full SHA for 70db0ff
flask_images/core.py
@@ -429,7 +429,7 @@ def handle_request(self, path):
429
image.save(cache_file, format, quality=quality)
430
cache_file.close()
431
432
- return send_file(cache_path, mimetype=mimetype, cache_timeout=cache_timeout)
+ return send_file(cache_path, mimetype=mimetype, max_age=cache_timeout)
433
434
435
0 commit comments