Closed thekingofkings closed 8 years ago
Function send_file
cache_timeout – the timeout in seconds for the headers. When None (default), this value is set by get_send_file_max_age() of current_app.
The parameter cache_timeout
of function send_file
does not work.
response = make_response( send_file( file ) )
response.cache_control.max_age = 300
return response
the reason is believed as server cache.
The line above is identified in Chrome.