File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 141
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

I agree. Here's the link:
subject: Disable caching
It's not a secret anymore!