> We are using default caching (enterprise edition), and we are seeing > some strange behavior. > We have one page that shows data from the data module. So when this > page needs updating, data is added in the data module. When there is > no caching this is ok. > But on the public instances you have to explicitly flush this page > before the new data is shown.
That should not be a case. look at config:/modules/cache/config/configurations/default/flushPolicy/policies/flushAll/repositories It should list "data" among the repositories it observes, so change in the repo should trigger flushing of the cache. If the config is correct, you might want to connect jconsole to your server to see that the cache is really flushed. If so, then the problem is elsewhere. > My naive approach is to just reactivate > the page, even though it is not changed. > This does not really seem to work. Perhaps only content with status > 'stale' is reactivated, and if there is non, the public instance > caches are not flushed. No, if you reactivate the page, it will be sent to public no matter what the status says. And it should indeed trigger flushing of the cache. Same as before you can observe this using jconsole. > > How should we deal with this, and more specifically: is there a quick > workaround for our editors to flush this page anyway? Work around depends on what the problem really is. Are you sure it is not a browser cache or proxy, but Magnolia cache that holds the stale copy of the page? Please check that you have config:/modules/config/configurations/default/browserCachePolicy/class set to "info.magnolia.module.cache.browsercachepolicy.Never" HTH, Jan > > regares, > > -- > Ernst Bunders > Ontwikkelaar VPRO > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- - Best regards, Jan Haderka, PhD. Magnolia International Ltd. http://www.magnolia-cms.com http://twitter.com/magnolia_cms You should join us on Facebook: http://facebook.com/Magnolia -------------------------------------- Magnolia® - Simple Open-Source Content Management ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
