changed cache control from 1 hr to 5 mins

This commit is contained in:
aldacron 2017-05-17 01:05:55 -07:00
parent 2590dfcc95
commit a2ca6eb2ac
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ def render_rss(label, query, use_elastic):
response = flask.make_response(rss_xml)
response.headers['Content-Type'] = 'application/xml'
# Cache for an hour
response.headers['Cache-Control'] = 'max-age={}'.format(1*60*60)
response.headers['Cache-Control'] = 'max-age={}'.format(1*5*60)
return response