URLConnection.setUseCaches

URLConnection.setUseCaches

Class Overview | Class Members | This Package | All Packages

Syntax
public void setUseCaches( boolean usecaches )
Description
Sets the value of the useCaches field of this URLConnection to the specified value.

Some protocols do caching of documents. Occasionally, it is important to be able to "tunnel through" and ignore the caches (e.g., the "reload" button in a browser). If the UseCaches flag on a connection is true, the connection is allowed to use whatever caches it can. If false, caches are to be ignored. The default value comes from DefaultUseCaches, which defaults to true.

See Also
useCaches