Dynamic markup loading caching in base page

2013-10-03 Thread Bas Gooren
Hi *, We built an app which has a base page, and several child pages which inherit from the base page. The app is themeable, and one of the requirements of the app is/was that these themes should be manageable. This means we have a set of themes which can be changed on-the-fly. To add

Re: Dynamic markup loading caching in base page

2013-10-03 Thread Bas Gooren
Sorry, I forgot to add that this is a wicket 1.5 app. As a quick follow-up, after looking at the InheritedMarkupMarkupLoader, I see that it delegates loading of the parent (base page) markup to the MarkupFactory. I think that means that our current setup should work, when it doesn't. Met

Re: Dynamic markup loading caching in base page

2013-10-03 Thread Bas Gooren
Another hour of debugging revealed the problem... The MarkupCache method loadMarkupAndWatchForChanges has code which shortcuts our custom cache key: // get the location String String locationString = markupResourceStream.locationAsString(); if (locationString ==