Re: Clear markup cache

2012-04-21 Thread Decebal Suiu
Another question: I know what markup files are changed do you think that it's
a good idea to use MarkupCache.removeMarkup(String key) to improve the
performance?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Clear-markup-cache-tp4575033p4576743.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Clear markup cache

2012-04-20 Thread Decebal Suiu
Hi

I use a CustomResourceLocator (extends ResourceStreamLocator) to load markup
files. The workflow is to search in a custom folder and if the file doesn't
exists call super.locate

If I add/remove some markup files in/from custom folder I see that wicket
keeps in cache some old files and I want to invalidate that cache
programmatic (all cache or only for that files). How can I do this?

wicket 1.5.5

Thanks,
Decebal

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Clear-markup-cache-tp4575033p4575033.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Clear markup cache

2012-04-20 Thread Decebal Suiu
I resolved with:

// clear markup cache   
getApplication().getMarkupSettings().getMarkupFactory().getMarkupCache().clear();


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Clear-markup-cache-tp4575033p4575132.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org