You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by armandoxxx <ar...@dropchop.com> on 2019/02/25 14:24:02 UTC
Wicket 6.19: Resurces on page cached problem
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Wicket 6.19: Resurces on page cached problem
Posted by armandoxxx <ar...@dropchop.com>.
Thank you ...
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Wicket 6.19: Resurces on page cached problem
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
You can clear the cache programatically via:
getApplication().getResourceSettings().getPropertiesFactory().clearCache()
On Mon, Feb 25, 2019 at 4:24 PM armandoxxx <ar...@dropchop.com> 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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>