Thanks Peter. I can understand that the in-memory caching makes a huge
difference. I am not sure as to whether you are talking about that or
external caching.
I guess what I am wondering is if setting overflowToDisk to false in
ehcache.xml would make much of a difference.
Ralph
Peter Hunsberger wrote:
On 8/12/05, Ralph Goers <[EMAIL PROTECTED]> wrote:
Thanks, Peter. I suspected it was a corruption. I didn't know the
names of the files. Frankly, I'm not even sure we need external caching
enabled for this application. Will it provide any better performance
than re-reading the original document?
It should, it normally stays in memory and only gets written to disk
at shutdown (or overflow). If you suffer a hard shutdown on Cocoon you
can get a corrupt cache and you get errors when there are attempts to
validate the on disk cache against the incoming objects. A nice fix
would be only to issue one error then stop checking...
Only testing will tell you for sure if caching is worth it, for us it
makes a huge difference...