You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Phillip Rhodes <sp...@rhoderunner.com> on 2007/04/13 15:33:59 UTC
jackrabbit with SimpleDbPersistenceManager, can it use filesystem
cache?
I am considering porting my home-grown hibernate/springframework based image content/gallery system to use jackrabbit on the back end.
I would like to use the SimpleDbPersistenceManager because my application runs on multiple machines, but at the same time, I do not want to be pulling blobs out of the db in realtime for every request.
Is there a way to configure jackrabbit to cache images/content from the filesystem after it pulls them from the database (SimpleDbPersistenceManager )?
Thanks!
Re: jackrabbit with SimpleDbPersistenceManager, can it use filesystem cache?
Posted by Stefan Guggisberg <st...@gmail.com>.
hi philip
On 4/13/07, Phillip Rhodes <sp...@rhoderunner.com> wrote:
>
> I am considering porting my home-grown hibernate/springframework based image content/gallery system to use jackrabbit on the back end.
>
> I would like to use the SimpleDbPersistenceManager because my application runs on multiple machines, but at the same time, I do not want to be pulling blobs out of the db in realtime for every request.
>
> Is there a way to configure jackrabbit to cache images/content from the filesystem after it pulls them from the database (SimpleDbPersistenceManager )?
there's already a layer in jackrabbit's core that caches items read from the
persistence layer (see
http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/state/SharedItemStateManager.html).
you might also consider setting "externalBLOBs=true" (see
http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.html).
cheers
stefan
>
> Thanks!
>
>
>
>
>