This is not perfect as someone could remove the macro, but if they don't know to look for it . . .
SecureCache.kmm
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2)
#
# ---------- SecureCache.kmm
# ---------- K-Meleon Macro Language turn off cache for encryped items ---------
#
# Dependencies : main.kmm
# Resources :
# Preferences : "browser.cache.disk_cache_ssl" bool
# Version : 1.0 2011-12-14
# Author : JamesD
# --------------------------------------------------------------------------------
_SecureCache_AutoDisable {
getpref(BOOL,"browser.cache.disk_cache_ssl") ? setpref(BOOL,"browser.cache.disk_cache_ssl", false) : 0;
}
# - - - - - - - - - - - - - - - - - - -
$OnLoad=$OnLoad."_SecureCache_AutoDisable;";
$macroModules=$macroModules."SecureCache;";
K-Meleon 1.6.0 beta 2.4 Win 7 (32 bit)