summaryrefslogtreecommitdiff
path: root/docs/plugins.rst
diff options
context:
space:
mode:
authorOndrej Grover <ondrej.grover@gmail.com>2014-11-03 15:30:45 +0100
committerOndrej Grover <ondrej.grover@gmail.com>2014-11-03 20:38:21 +0100
commit2beefb89c51b624dd02e63825c42f3a9bffef37c (patch)
tree177eb083dfcb1818eabbe126268abc89feb0bd5c /docs/plugins.rst
parenta81fcd3fefa7ffce657805163cfb32470c962bf9 (diff)
downloadpelican-caching_warning.tar.gz
add warnings about caching interfering with changes to settings and pluginscaching_warning
Diffstat (limited to 'docs/plugins.rst')
-rw-r--r--docs/plugins.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/plugins.rst b/docs/plugins.rst
index 27299e83..c22475f3 100644
--- a/docs/plugins.rst
+++ b/docs/plugins.rst
@@ -20,6 +20,14 @@ Alternatively, another method is to import them and add them to the list::
from package import myplugin
PLUGINS = [myplugin,]
+.. warning::
+
+ When experimenting with different plugins (especially the ones that
+ deal with metadata and content) caching may interfere and the
+ changes may not be visible. In such cases disable caching with
+ ``LOAD_CONTENT_CACHE = False`` or use the ``--ignore-cache``
+ command-line switch.
+
If your plugins are not in an importable path, you can specify a list of paths
via the ``PLUGIN_PATHS`` setting. As shown in the following example, paths in
the ``PLUGIN_PATHS`` list can be absolute or relative to the settings file::