Author: mreutegg
Date: Tue Jan 17 16:37:26 2017
New Revision: 1779209

URL: http://svn.apache.org/viewvc?rev=1779209&view=rev
Log:
OAK-4900: Enable persistent caches by default

Clarify how persistent cache can be disabled in different Oak versions

Modified:
    jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/persistent-cache.md

Modified: 
jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/persistent-cache.md
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/persistent-cache.md?rev=1779209&r1=1779208&r2=1779209&view=diff
==============================================================================
--- 
jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/persistent-cache.md 
(original)
+++ 
jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/persistent-cache.md 
Tue Jan 17 16:37:26 2017
@@ -32,6 +32,11 @@ The default OSGi configuration of the pe
     org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService
         persistentCache="cache,binary\=0"
 
+Oak version up to 1.4 have the persistent cache disabled by default, which
+is equivalent with a configuration entry set to an empty String. Starting with
+Oak 1.6, the persistent cache is enabled by default and can be disabled by
+setting the configuration entry to `"-"`.
+
 ### Configuration Options
 
 The persistent cache configuration setting is string with a number of comma 
separated elements. 
@@ -85,11 +90,15 @@ An example configuration is:
 
     "cache,size\=2048,binary\=0,-compact,-compress"
 
-To disable the persistent cache entirely, use the following configuration:
+To disable the persistent cache entirely in Oak 1.6 and newer, use the 
following
+configuration:
 
     org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService
         persistentCache="-"
 
+Up to Oak version 1.4, either omit the persistentCache entry or set it to an
+empty String to disable the persistent cache.
+
 ### Journal cache
 
 Since Oak 1.6.


Reply via email to