Make redirects more sensible

This commit is contained in:
Badri Sunderarajan 2020-03-27 16:59:25 +05:30
parent 1da1aba9d5
commit b3fe0911e6
1 changed files with 25 additions and 1 deletions

View File

@ -3,9 +3,33 @@
command = "gridsome build"
[[headers]]
for = "/*"
for = "/"
[headers.values]
cache-control = '''
public,
max-age=0,
must-revalidate'''
[[headers]]
for = "*/"
[headers.values]
cache-control = '''
public,
max-age=0,
must-revalidate'''
[[headers]]
for = "*.htm"
[headers.values]
cache-control = '''
public,
max-age=0,
must-revalidate'''
[[headers]]
for = "*.json"
[headers.values]
control = '''
public,
max-age=0,
must-revalidate'''