More helpful info! Thanks a lot.

-will

On 14.10.2008, at 11:09, Jan Haderka wrote:

crude way:
shutdown, delete cache directory, startup
more subtle:
enable jmx and use jconsole to connect to your server and find the
net.sf.ehcache.CacheManager bean, and invoke flush() operation of the
default instance of the cache.

jmx has also the advantage that you can see how many objects you have in
the cache.

Cheers,
Jan

On Tue, 2008-10-14 at 09:41 +0200, Will Scheidegger wrote:
Thanks Jan for the explanation. One final question: How would you
"clear the cache" on an author instance?

Regards,
Will

On 14.10.2008, at 08:40, Jan Haderka wrote:

On Mon, 2008-10-13 at 22:12 +0200, Will Scheidegger wrote:
Hm... This has happened to me on the author instance - on
AdminCentral. There should be no caching at all, right?

That is not entirely true I'm afraid. The dynamic data (pages, etc)
are
not cached on the author, however resources
(see /config/configuration/default/cachePolicy/voters/resources for
details) are not cached only when magnolia.develop is set to true.
However the default value of this flag
(/WEB-INF/config/default/magnolia.properties) is FALSE, hence
resources
like javascript.js and similar are cached even on the author.
Just to double check I got it right before sending this mail, I've
shutdown my instance, changed the value of the flag to true, renamed
instance again and started up. And indeed it works without any
problems
and without need to remove stale cache.

HTH,
Jan


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
--
Best regards,

Jan Haderka
Magnolia International Ltd.

----------------------------------------------------------------------
[EMAIL PROTECTED]                  http://www.magnolia.info
Magnolia®  - Simple Open Source Content Management
----------------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to