Updates and additions to cache API.
commit23edbc2f22b101a769980043d62de801c9d9e28f
authorNicholas A. Zigarovich <nicktastic@gmail.com>
Fri, 10 Oct 2008 17:02:32 +0000 (10 13:02 -0400)
committerNicholas A. Zigarovich <nicktastic@gmail.com>
Fri, 10 Oct 2008 17:02:32 +0000 (10 13:02 -0400)
tree54c8ec6d746cbf0a69e229f286d06c93e1b39870
parentcce93701403328ac15ceb262390187f599b2edf1
Updates and additions to cache API.

- cache_service: moved from mime-type-override.js to cache.js.
- clear_http_cache_entry: moved to from mime-type-overide.js to cache.js,
  fixed a typo, renamed to cache_entry_clear, made a bit more general.
- Split off much of cache_entry_clear into a new function, cache_entry_open.
- Added CACHE_SESSION_[HTTP|HTTP_OFFLINE|FTP] constants.
- Define constants with 'const' instead of 'var'.
- Require cache.js in conkeror.js. (Oops.)
modules/cache.js
modules/conkeror.js
modules/mime-type-override.js