Caddyfile: Don't set Cache-Control headers

Cloudflare handles it for us

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-02-29 15:36:16 +05:30
parent d4ec967832
commit 78ea780225
No known key found for this signature in database
GPG key ID: B7843F823355E9B9

View file

@ -25,7 +25,6 @@
X-Frame-Options "SAMEORIGIN"
Feature-Policy "accelerometer 'none';ambient-light-sensor 'none'; autoplay 'none';camera 'none';encrypted-media 'none'; geolocation 'none';gyroscope 'none';magnetometer 'none';microphone 'none';midi 'none';payment 'none';picture-in-picture 'none'; speaker 'none';sync-xhr 'none';usb 'none';vr 'none'"
Referrer-Policy "no-referrer"
Cache-Control 'max-age=604800,stale-while-revalidate=10'
}
}