[keycloak-dev] no-cache

Bill Burke bburke at redhat.com
Mon Aug 5 08:21:49 EDT 2013


This was an application bug, not a development problem.  Many components 
redraw themselves by making REST calls (which we'll probably want to 
change).  The previous REST calls were being cached by browser.  So, add 
the Resteasy @NoCache to your GET requests (Or resource classes).

On 8/5/2013 8:15 AM, Stian Thorgersen wrote:
> I know, CTRL+F5 should refresh everything on the page (html, REST, styles, scripts)
>
> ----- Original Message -----
>> From: "Bill Burke" <bburke at redhat.com>
>> To: "Stian Thorgersen" <stian at redhat.com>
>> Cc: keycloak-dev at lists.jboss.org
>> Sent: Monday, 5 August, 2013 12:48:07 PM
>> Subject: Re: [keycloak-dev] no-cache
>>
>> It wasn't a page thing, it was a REST invocation thing.
>>
>> On 8/5/2013 4:40 AM, Stian Thorgersen wrote:
>>> You can also use CTRL+F5 instead of just F5 to refresh the page. This
>>> forces the browser to refresh the cache.
>>>
>>>
>>> ----- Original Message -----
>>>> From: "Bill Burke" <bburke at redhat.com>
>>>> To: keycloak-dev at lists.jboss.org
>>>> Sent: Saturday, 3 August, 2013 8:55:24 PM
>>>> Subject: [keycloak-dev] no-cache
>>>>
>>>> FYI, if you don't want to spend many minutes figuring out why a remote
>>>> REST request isn't updating your UI, remember to send back Cache-Control
>>>> no-cache directive back with your REST responses :)
>>>>
>>>>
>>>> --
>>>> Bill Burke
>>>> JBoss, a division of Red Hat
>>>> http://bill.burkecentral.com
>>>> _______________________________________________
>>>> keycloak-dev mailing list
>>>> keycloak-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>>>
>>
>> --
>> Bill Burke
>> JBoss, a division of Red Hat
>> http://bill.burkecentral.com
>>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the keycloak-dev mailing list