You have to do something specific there, maybe an event listener which listens
to update events to a file (like /clearcache) and do something like:
Enumeration stores = namespace.enumerateScopes();
while(stores.hasMoreElements()) {
Store s = (Store)stores.nextElement();
if(s instanceof ExtendedStore)
((ExtendedStore)s ).resetCache();
// some more ifs in case you implemented your own caching behavious in custom
stores
}
And make sure only your superuser can write to /clearcache. Then you can do a
proppatch or put or so which clears the cache. Hacky, but otherwise you have to
implement your own way to trigger this.
Bye!
max
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 09, 2005 14:20
> To: [email protected]
> Subject: Clear object cache
>
>
> Hi all,
>
> It is possible to clear the store cache by using either the
> Slide API or the
> webdav layer.
> We makes some heavy updates in our database and we want to
> clean the Slide
> store cache.
> What is the best way for doing that ?
>
> Thanks
> Christophe
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]