27 Apr
2007
27 Apr
'07
8:29 p.m.
Hi, Is there a way to flush a specific page in xwiki? I know $xwiki.flushcache() flushes the whole cache, but I'd like a specific page flush. How can I do that? My scenario is a cluster: I have a master server with the master xwiki db, and a slave server with a slave xwiki db, connected via replication. I do my xwiki saves over http to the master. The master db updates correctly, and so the slave db updates correctly as well. That's all good and fine. But while the master cache updates correctly (that's where the save happens), the slave cache doesn't update, because xwiki on the slave doesn't know the write occurred. Thanks, Yoav