Cache6_Xul_Toggle{
menuchecked=(getpref(BOOL,"nglayout.debug.disable_xul_cache")==true);
getpref(BOOL,"nglayout.debug.disable_xul_cache")==true?&_Cache6_Xul_Disable:&_Cache6_Xul_Enable;
}

_Cache6_Xul_Enable{
statusbar(sub("%s",$on,_("Cache6-Xul %s")));
setpref(BOOL,"nglayout.debug.disable_xul_cache",true);
setpref(BOOL,"nglayout.debug.disable_xul_fastload",true);
}

_Cache6_Xul_Disable{
statusbar(sub("%s",$off,_("Page load Cache6-Xul %s")));
delpref("nglayout.debug.disable_xul_cache");
delpref("nglayout.debug.disable_xul_fastload");
}

_Cache6_Xul_BuildMenu{
# tools menu
setmenu(Settings,macro,"Cache-Xul-Off",Cache6_Xul_Toggle);
}
$OnInit=$OnInit."_Cache6_Xul_BuildMenu;";

$macroModules=$macroModules."Cache6_Xul;";