silverstripe-framework/_config/config.yml
Marcus Nyeholt f7c270a3ba NEW Use Config for determining Vary header
Existing implementation hardcodes the Vary header; swap to using Config layer
instead

Added test for changing the variable from config
2015-12-02 10:28:24 +11:00

14 lines
308 B
YAML

---
Name: coreconfig
---
Upload:
# Replace an existing file rather than renaming the new one.
replaceFile: false
MySQLDatabase:
connection_charset: utf8
HTTP:
cache_control:
max-age: 0
must-revalidate: "true"
no-transform: "true"
vary: "Cookie, X-Forwarded-Protocol, User-Agent, Accept"