![]() |
|||||||||||||||||
| |
|
|
|||||||||||||||
|
Problems with Browser
caching
Client side caching is a useful optimisation for static pages But can be undesirable for dynamic pages Often you want a back or forward action in the browser to bypass the browser cache to contact the server Without a fresh appendToResponse() the data on a page becomes stale To enforce actions to go back to the applications server, you have to force the page to expire immediately, which prevents the browser from caching it Global disable for all pages in Application constructor
To disable on individual pages for specific responses, overide appendToResponse()
public void appendToResponse(WOResponse r, WOContext c) {
Page updated August 17, 2004 |
||||||||||||||||
|
|
|||||||||||||||||