Skip to content

Commit

Permalink
Added netlify _header settings for static folder
Browse files Browse the repository at this point in the history
The intention here is to cache all static *.jpg, *.png files, normally gatsby generates these files into /static/*/*/*.png and /static/*/*/*.png structure, but let's start with something easier
  • Loading branch information
ZoltanVeres committed Feb 15, 2019
1 parent b3f92f2 commit 9cd7418
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _headers
@@ -0,0 +1,4 @@
[[headers]]
for = "/static/*"
[headers.values]
Cache-Control = "public, max-age=360000"

0 comments on commit 9cd7418

Please sign in to comment.