Skip to content
Snippets Groups Projects
Commit 2222cd6d authored by Arnaud Levy's avatar Arnaud Levy
Browse files

cache

parent 0748a8c6
No related branches found
Tags v1.2.1
No related merge requests found
......@@ -6,6 +6,13 @@ baseURL: <%= @website.url %>
defaultContentLanguage: <%= @website.default_language.iso_code %>
defaultContentLanguageInSubdir: <%= @website.languages.many? %>
## CACHE
deployment:
matchers:
- pattern: "^.+\\.(woff2|woff|svg|ttf|eot|png|jpg|jpeg|gif|webp|js|css)$"
cacheControl: "max-age=31536000, no-transform, public"
gzip: true
<% if @website.deuxfleurs_hosting %>
## DEUXFLEURS
deployment:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment