diff options
| author | roninro <liumy.f@foxmail.com> | 2022-07-28 19:17:56 +0800 |
|---|---|---|
| committer | roninro <liumy.f@foxmail.com> | 2022-07-28 19:26:10 +0800 |
| commit | b60e2467de21a7760ca60e472901d5de4c11d8ba (patch) | |
| tree | 6ebb2080723c721b5b3de90c56a9daa48128ef3c /netlify.toml | |
| parent | acb102c143ae7044ac2efe91e9d78ec742ca1258 (diff) | |
update README.md
Diffstat (limited to 'netlify.toml')
| -rw-r--r-- | netlify.toml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml index 6fcba09..5f9bf27 100644 --- a/netlify.toml +++ b/netlify.toml @@ -12,3 +12,13 @@ [context.deploy-preview] command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL" + +[[headers]] + for = "/*" + [headers.values] + Cache-Control = "public, max-age=600" + +[[headers]] + for = "*.(css|js|woff|woff2|ttf|png|jpg|jpeg)" + [headers.values] + Cache-Control = "public, max-age=2592000"
\ No newline at end of file |
