#225 Remove cache_timeout as that's deprecated
Merged by humaton. Opened by misc.
misc/fedocal fix_multistatic  into  master

Download 225.patch

This was replaced by max_age in Flask 0.9, and default to the value of
get_send_file_max_age per documentation.

Fix #223

This just removes the max age thing? Is that fine? Or am I missing how/where it happens now?

So cache_timeout is replaced by max_age in 2.1.0:
https://flask.palletsprojects.com/en/3.0.x/changes/#version-2-1-0

And the default value of max_age is the value of get_send_file_max_age()
https://flask.palletsprojects.com/en/2.3.x/api/#flask.Flask.get_send_file_max_age

So we do not need to set it, that's done by default.

Ahh, cool, seems good to merge then.

rebased onto 728dbcad17bfc347b21bb84ae6db62144350215b

Pull-Request has been merged by humaton

Metadata