Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
74:cms_prefetch [2020/08/25 13:17] tssr74:cms_prefetch [2020/08/25 13:18] tssr
Line 1: Line 1:
 +[[:72:configure_stages|Configure the Stages Server]]
 +
 ====== CMS Prefetch Configuration ====== ====== CMS Prefetch Configuration ======
  
Line 6: Line 8:
 === Configuration of the CMS Prefetch === === Configuration of the CMS Prefetch ===
  
-The default configuration of the CMS prefetch is found in <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''<Stages installation path>/stages/conf/config.xml''</font> file:+The default configuration of the CMS prefetch is found in <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''<Stages installation path>/stages/conf/config.xml''</font> file:<code>
  
-<code> +<stages-config> 
-<stages-config>\\ + <properties>
-<properties>+
  
-<property name="cms.prefetch.activated" value="true"/>\\ + <property name="cms.prefetch.activated" value="true"/> 
-<property name="cms.cache.refreshIntervalInMinutes" value="60"/>\\ + <property name="cms.cache.refreshIntervalInMinutes" value="60"/> 
-<property name="cms.prefetch.sleepMillisBetweenDocuments" value="0"/>\\ + <property name="cms.prefetch.sleepMillisBetweenDocuments" value="0"/> 
-<property name="cms.prefetch.workersCount" value="1"/>\\ + <property name="cms.prefetch.workersCount" value="1"/> 
-<property name="cms.prefetch.strategy.class"\\ + <property name="cms.prefetch.strategy.class" 
-value="de.methodpark.pkit.cms.prefetch.ClassicAllDocumentsStrategy"/>\\ + value="de.methodpark.pkit.cms.prefetch.ClassicAllDocumentsStrategy"/> 
-</properties>\\ + </properties> 
-<cms> ... </cms>\\+ <cms> ... </cms>
 </stages-config> </stages-config>
  
Line 34: Line 35:
 //Classic all documents available// //Classic all documents available//
 <code> <code>
-\\ 
 class=de.methodpark.pkit.cms.prefetch.ClassicAllDocumentsStrategy class=de.methodpark.pkit.cms.prefetch.ClassicAllDocumentsStrategy
  
Line 43: Line 43:
 //Prefetch by CMS type strategy// //Prefetch by CMS type strategy//
 <code> <code>
-\\ 
 class=de.methodpark.pkit.cms.prefetch.PrefetchByCMSTypeStrategy class=de.methodpark.pkit.cms.prefetch.PrefetchByCMSTypeStrategy
  
Line 53: Line 52:
  
 <code> <code>
-\\ +<stages-config> 
-<stages-config>\\ + <properties> 
-<properties>\\ + <property name="cms.prefetch.workersCount" value="8"/> 
-<property name="cms.prefetch.workersCount" value="8"/>\\ + <property name="cms.prefetch.strategy.class" 
-<property name="cms.prefetch.strategy.class"\\ + value="de.methodpark.pkit.cms.prefetch.PrefetchByCMSTypeStrategy"/> 
-value="de.methodpark.pkit.cms.prefetch.PrefetchByCMSTypeStrategy"/>\\ + <property name="cms.prefetch.maxParallelTasks.SVN" value="1"/> 
-<property name="cms.prefetch.maxParallelTasks.SVN" value="1"/>\\ + <!--0 is mapped to unlimited, if nothing were configured it would 
-<!--0 is mapped to unlimited, if nothing were configured it would\\ + default to 1 -->
-default to 1 -->+
  
-<property name="cms.prefetch.maxParallelTasks.Integrity" value="0"/>\\ + <property name="cms.prefetch.maxParallelTasks.Integrity" value="0"/> 
-</properties>+ </properties>
  
-<cms> ... </cms>\\+ <cms> ... </cms>
 </stages-config> </stages-config>