Java Mailing List Archive

http://www.junlu.com/

Home » users.myfaces »

AJAX Request - No Cache

Thomas Andraschko

2012-04-03

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,

as far as i can see, the PartialViewContextImpl sets No-Cache to all AJAX
requests.
Is this required in all cases?

We have an application with nearly static data which will changed only at
night.
Our search queries are implemented via URL params and the cache-header is
set to expires at 22:00.

In one list, we must implement an filter function via AJAX and this will
not be cached.

Any idea if this could produce any other problems?
Should i overwrite this behavior for this view? How can i do it without
much effort?

Or it is better to implement this also via URL params?

Thanks and best regards,
Thomas
©2008 junlu.com - Jax Systems, LLC, U.S.A.