Commit 4eaff86c5899ef27465f9c92aed44418c94622ad
1 parent
f72e1ea8
Exists in
master
barrabrasil.py: cache de 12 horas.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/barrabrasil.py
| ... | ... | @@ -48,7 +48,7 @@ def barra(): |
| 48 | 48 | resposta = make_response(conteudo) |
| 49 | 49 | resposta.set_etag(etag) |
| 50 | 50 | resposta.headers['Content-type'] = 'application/javascript' |
| 51 | - resposta.headers['Cache-control'] = 'max-age: 3600' | |
| 51 | + resposta.headers['Cache-control'] = 'max-age: 43200' #12 horas | |
| 52 | 52 | return resposta |
| 53 | 53 | |
| 54 | 54 | if __name__ == '__main__': | ... | ... |