Make redirects more sensible

This commit is contained in:
Badri Sunderarajan 2020-03-27 16:59:25 +05:30
parent 1da1aba9d5
commit b3fe0911e6

View file

@ -3,9 +3,33 @@
command = "gridsome build" command = "gridsome build"
[[headers]] [[headers]]
for = "/*" for = "/"
[headers.values] [headers.values]
cache-control = ''' cache-control = '''
public, public,
max-age=0, max-age=0,
must-revalidate''' 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'''