I am trying to make Wicket NOT cache html templates, but only based on a
certain system property.  So if this property is off, no caching, I return
null from getCacheKey() and that seems to work great.  But, I am not sure
what to do when I WANT caching.  

The method takes a MarkupContainer and containerClass parameter, but I am
unsure what I am supposed to do with them. I presume I am supposed to
manufacture a key somehow.  But not knowing how the key is used, I am
unclear how to generate it.  Is there a default implementation of this I
could utilize?  Every example I find online is just returning null in order
to achieve no caching ALL the time.  But I only want it conditionally.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/IMarkupCacheKeyProvider-getCacheKey-tp4676864.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to