well you can create a markup cache key that is based on the lastmodified date of the file that contains the markup.
-igor On Tue, Feb 24, 2009 at 9:53 AM, Markus Strickler <[email protected]> wrote: > Hi- > > thanks for your reply. > I'm not quite sure how IMarkupCacheKeyProvider fits in here. I'm actually > looking for a way to invalidate the cache, in case the markup has changed. > > Thanks, > > -markus > > Zitat von "Igor Vaynberg" <[email protected]>: > >> see IMarkupCacheKeyProvider, you can let pages that load markup from >> the filesystem implement this. >> >> -igor >> >> On Tue, Feb 24, 2009 at 3:57 AM, Markus Strickler <[email protected]> >> wrote: >>> >>> Hi- >>> >>> I'm currently implementing a way to load page templates provided from a >>> CMS >>> that exports the statically to the file system. >>> The loading part itself already works fine, now I'm looking for a good >>> way >>> to refresh the markup cache, if the template files have changed. >>> Before I roll my own solution I was wondering if I can somehow use the >>> wicket internal mechanisms used for development mode. >>> >>> Thanks for any insights, >>> >>> -markus >>> >>> >>> ---------------------------------------------------------------- >>> This message was sent using IMP, the Internet Messaging Program. >>> >>> >>> -- >>> This message has been scanned for viruses and >>> dangerous content by MailScanner, and is >>> believed to be clean. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> >> > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
