Re: Wicket 6.19: Resurces on page cached problem

2019-02-25 Thread armandoxxx
Thank you ... 

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

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



Re: Wicket 6.19: Resurces on page cached problem

2019-02-25 Thread Martin Grigorov
Hi,

You can clear the cache programatically via:
getApplication().getResourceSettings().getPropertiesFactory().clearCache()

On Mon, Feb 25, 2019 at 4:24 PM armandoxxx  wrote:

> Hey ...
>
> I would like to know one thing.
>
> I'm using custom IStringResourceLoader for loading string resoucers from
> custom cache.
>
> Use case:
> Page X is rendered
> String resources are loaded.
> ...
> In another application custom cache is invalidated due to changes in
> strings.
>
> ...
> User goes to page Y and then returns through LINK (not back button) to page
> X.
> Resources are not reloaded and old strings are displayed on Page X
>
> Is there a way to invalidate the cahe of page X resources ?
>
> Kind regards
>
> Armando
>
>
>
>
>
>
>
>
>
>
>
> --
> Sent from:
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>