You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by sundar saba <su...@gmail.com> on 2021/06/14 10:09:37 UTC

Reg : Wicket cache controls

Hi all,

              I am using wicket and spring security  in my project. I
enabled HTTP headers in spring security .My spring security Cache controls
are overridden by wicket cache controls. Can you all please help me to
disable wicket cache controls in my project

Re: Reg : Wicket cache controls

Posted by sundar saba <su...@gmail.com>.
Thanks a lot. I will check

On Mon, 14 Jun 2021, 18:35 Martin Grigorov, <mg...@apache.org> wrote:

> Hi,
>
> On Mon, Jun 14, 2021 at 1:24 PM sundar saba <su...@gmail.com>
> wrote:
>
>> Hi all,
>>
>>               I am using wicket and spring security  in my project. I
>> enabled HTTP headers in spring security .My spring security Cache controls
>> are overridden by wicket cache controls. Can you all please help me to
>> disable wicket cache controls in my project
>>
>
> Globally
> see Application.get().getResourceSettings().getCachingStrategy().decorateResponse(AbstractResource.ResourceResponse
> response, IStaticCacheableResource resource)
> For a single resource see AbstractResource#disableCaching()
>
>

Re: Reg : Wicket cache controls

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

On Mon, Jun 14, 2021 at 1:24 PM sundar saba <su...@gmail.com>
wrote:

> Hi all,
>
>               I am using wicket and spring security  in my project. I
> enabled HTTP headers in spring security .My spring security Cache controls
> are overridden by wicket cache controls. Can you all please help me to
> disable wicket cache controls in my project
>

Globally
see Application.get().getResourceSettings().getCachingStrategy().decorateResponse(AbstractResource.ResourceResponse
response, IStaticCacheableResource resource)
For a single resource see AbstractResource#disableCaching()