forked from github/pelican
Change docs wording on cache regen for #1630
This commit is contained in:
parent
822fb134e0
commit
ffe71d324d
1 changed files with 4 additions and 6 deletions
|
|
@ -847,13 +847,11 @@ can be invoked by passing the ``--archive`` flag).
|
||||||
|
|
||||||
The cache files are Python pickles, so they may not be readable by
|
The cache files are Python pickles, so they may not be readable by
|
||||||
different versions of Python as the pickle format often changes. If
|
different versions of Python as the pickle format often changes. If
|
||||||
such an error is encountered, the cache files have to be rebuilt by
|
such an error is encountered, it is caught and the cache file is
|
||||||
removing them and re-running Pelican, or by using the Pelican
|
rebuilt automatically in the new format. The cache files will also be
|
||||||
command-line option ``--ignore-cache``. The cache files also have to
|
rebuilt after the ``GZIP_CACHE`` setting has been changed.
|
||||||
be rebuilt when changing the ``GZIP_CACHE`` setting for cache file
|
|
||||||
reading to work properly.
|
|
||||||
|
|
||||||
The ``--ignore-cache`` command-line option is also useful when the
|
The ``--ignore-cache`` command-line option is useful when the
|
||||||
whole cache needs to be regenerated, such as when making modifications
|
whole cache needs to be regenerated, such as when making modifications
|
||||||
to the settings file that will affect the cached content, or just for
|
to the settings file that will affect the cached content, or just for
|
||||||
debugging purposes. When Pelican runs in autoreload mode, modification
|
debugging purposes. When Pelican runs in autoreload mode, modification
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue