mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
set default for caching to false
ref #1689 * set default settigns in settings.py to False for - LOAD_CONTENT_CACHE - CACHE_CONTENT * remove AUTORELOAD_IGNORE_CACHE and add deprecation warning * update settings.rst to reflect the new default values * update test_cache to enable caching options
This commit is contained in:
parent
b7e6390f04
commit
db59c16f42
4 changed files with 24 additions and 29 deletions
|
|
@ -123,13 +123,12 @@ DEFAULT_CONFIG = {
|
|||
'SLUG_SUBSTITUTIONS': (),
|
||||
'INTRASITE_LINK_REGEX': '[{|](?P<what>.*?)[|}]',
|
||||
'SLUGIFY_SOURCE': 'title',
|
||||
'CACHE_CONTENT': True,
|
||||
'CACHE_CONTENT': False,
|
||||
'CONTENT_CACHING_LAYER': 'reader',
|
||||
'CACHE_PATH': 'cache',
|
||||
'GZIP_CACHE': True,
|
||||
'CHECK_MODIFIED_METHOD': 'mtime',
|
||||
'LOAD_CONTENT_CACHE': True,
|
||||
'AUTORELOAD_IGNORE_CACHE': False,
|
||||
'LOAD_CONTENT_CACHE': False,
|
||||
'WRITE_SELECTED': [],
|
||||
'FORMATTED_FIELDS': ['summary'],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue