Created
July 31, 2015 11:06
-
-
Save janit/3b6358591479fcaa738f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Settings for caching in parts of Bolt. | |
# - config: Caches the parsed .yml files from /app/config. It's updated | |
# immediately when one of the files changes on disk. There | |
# should be no good reason to turn this off. | |
# - templates: Caches rendered templates. | |
# - request: Caches entire rendered pages like '/page/about', but only on | |
# GET requests. | |
# - duration: The duration (in minutes) for the 'templates' and 'request' | |
# options. default is 10 minutes. Note that the duration is set | |
# on storing the cache. By lowering this value you will not | |
# invalidate currently cached items. | |
# - authenticated: Cache 'templates' and 'request' for logged-on users. In most | |
# cases you should *NOT* enable this, because it will cause | |
# side-effects if the website shows different content to | |
# authenticated users. | |
caching: | |
config: true | |
templates: true | |
request: false | |
duration: 10 | |
authenticated: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment