apache > cocoon
 

The persistent cache under Apache Cocoon

Goal

This document explains how the persistent cache under Cocoon operates.

Normal filesystem persistence:

When you configure this opportunity, then the Cocoon objects will be ordinarily serialized to a specified directory. This method is okay for a small number of objects and if your OS can handle long filenames. Some Windows OS have problems when the filenames are very long.

Jisp based persistence:

The aim of the Jisp based persistence is to provide a more scalable persistence. The objects are stored in an indexed file, which uses a B-Tree alghorithm to store the objects. This is a more elegant and fast solution, especially when you need to handle many objects.

Configuration:

 <persistent-store logger="core.store.persistent">
    <!-- Configuration goes here -->
 </persistent-store>
  

Please refer to cocoon.xconf file for further configuration explanation.