Friday, September 14, 2018

How to modify cache control max age value in Flask Python

@app.after_request
def add_header(response):
    response.cache_control.max_age = 1
    return response

just add this code

No comments:

Post a Comment

URDF Link origin test