Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q1010 Can I find out how large a users cache is?

irt.org | Knowledge Base | JavaScript | Misc | Q1010 [ previous next ]

Q1010 Can I find out how large a users cache is?

Only in Netscape Navigator 4+ and only after asking for extra privileges:

<SCRIPT LANGUAGE="JavaScript1.2"><!--
if (document.layers) {
    netscape.security.PrivilegeManager.enablePrivilege('UniversalPreferencesRead');
    alert('cache size = ' + navigator.preference('browser.cache.disk_cache_size'));
}
//--></SCRIPT>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.