Browser.cache.offline.enable

From MozillaZine Knowledge Base
Jump to navigationJump to search

Background

Recent versions of Mozilla offer an “offline cache” that web applications can use to store data for retrieval even when the browser is offline. Combined with online/offline events, developers can write JavaScript that acts intelligently until the connection is restored. This preference determines whether the offline cache is enabled.

Possible values and their effects

True

Download URLs linked in <link rel="offline-resource"> elements into the offline cache. (Default)

False

Do not download URLs for the offline cache.

First checked in

2007-03-13 by Robert O'Callahan (patch by Dave Camp)

Has an effect in

  • Mozilla Firefox (nightly trunk builds since 2007-03-13)

Related bugs

Related preferences

External links