This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes General Computing and the fly likes Disable caching Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Disable caching" Watch "Disable caching" New topic

Disable caching

Santosh Kumar Nayak
Ranch Hand

Joined: Aug 02, 2011
Posts: 93
How to disable caching for a website ?

Suppose there is a website and I do not want the browser to cache the data for it.

Carles Gasques
Ranch Hand

Joined: Apr 19, 2013
Posts: 199

If you choose to disable caching in client side then you have to configure the caching policies of your browser.

If you choose to disable caching in server side then set related cache headers in the server responses

wood burning stoves
subject: Disable caching