Browser.cache.offline.capacity

From MozillaZine Knowledge Base
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 how much data can be stored in the offline cache.

Possible values and their effects

A positive integer specifying the amount of disk space the offline cache may use, in kilobytes. Default value is 512000 (500MB).

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; 3.0b1 and above)

Related bugs

Related preferences

External links