Re: Reg : Wicket cache controls

2021-06-14 Thread sundar saba
Thanks a lot. I will check

On Mon, 14 Jun 2021, 18:35 Martin Grigorov,  wrote:

> Hi,
>
> On Mon, Jun 14, 2021 at 1:24 PM sundar saba 
> 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

2021-06-14 Thread Martin Grigorov
Hi,

On Mon, Jun 14, 2021 at 1:24 PM sundar saba 
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()


Reg : Wicket cache controls

2021-06-14 Thread sundar saba
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