On 7/13/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On 7/12/07, mraible <[EMAIL PROTECTED]> wrote: > > > > > > Is it possible to expire the page cache with JMX? Or even better, expire > > individual pages from the cache with JMX? > > i dont think so, but i also dont think it will be very difficult to > implement. we already have a jmx bean here [1], so all thats needed is to > just plugin that feature. the thing im not sure yet is how public the > markupcache api is, so we might have to tweak that somewhat. an rfe or a > patch are welcome. >
Yes, not difficult to implement. Though the current MarkupCache default implementation by purpose is simple, it provides plenty of extension points for users to implement whatever they need. Until now, very little requests have been raised for improved functionality. You may replace the underlying hashmap which currently is used. Using some more sophisticated cache may provide expiration etc. Since it is possible for each component to configure (or get) its cache key, each component is able to remove its markup from the cache. Juergen ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user