Commit 21592651 authored by Tatuya Kamada's avatar Tatuya Kamada

Make it more versatile.

- Cache-Control:public,max-age= is also a valid configuration.
- application/font resources do not need to care about Vary header.
parent 7a1b0080
......@@ -18,6 +18,8 @@ Vary = Accept-Language, Cookie, Accept-Encoding
Accept-Encoding
Cache-Control = max-age=300
max-age=3600
public,max-age=300
public,max-age=3600
[header url=(.*_form)]
Vary = Accept-Encoding
......@@ -25,7 +27,7 @@ Vary = Accept-Encoding
[header url=.*/favicon.ico]
Last-Modified = True
[no_header content-type=(image/.*|text/css|.*/javascript)]
[no_header content-type=(image/.*|text/css|.*/javascript|application/font)]
Vary = None
[erp5_extension_list]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment