Dashboard > Penrose > ... > Penrose 0.9.9 Cache > Penrose 0.9.9 No Cache
Penrose 0.9.9 No Cache
Added by Endi S. Dewata, last edited by Endi S. Dewata on Feb 01, 2006
Labels: 
(None)


Introduction

By default Penrose does not use any caching mechanism, in other words the cache is disabled. All operations coming in will be performed directly against the underlying resources. This ensures that the information viewed inside Penrose directory are in-sync with the real data.

Configuration

To disable cache, edit PENROSE_SERVER_HOME/conf/server.xml:

<server>

  <entry-cache/>
  <source-cache/>

</server>

or

<server>

  <entry-cache>
    <cache-class>org.safehaus.penrose.cache.DefaultEntryCache</cache-class>
  </entry-cache>
  <source-cache>
    <cache-class>org.safehaus.penrose.cache.DefaultSourceCache</cache-class>
  </source-cache>

</server>

Site running on a free Atlassian Confluence Open Source Project License granted to Safehaus. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators