Nglayout.debug.disable xul cache
During development of XUL applications, it’s convenient to disable the XUL cache so that changes you make to files on disk take effect the next time the window or dialog is loaded (instead of the next time Mozilla starts).
Possible values and their effects
Do not cache parsed XUL documents and do not save the cache to the XUL FastLoad file on exit; re-read the source files each time the window or dialog needs to be displayed.
Cache XUL documents in memory and save the cache to disk on exit to improve performance. (Default)
- There is (unsurprisingly) a performance hit associated with setting this preference to true.
- A bug with Firefox on the Mac may cause 100% CPU usage when this preference is true.
- The XUL cache works without XUL FastLoad on, but the cache will not be saved between Mozilla sessions.
In general, the only time it’s useful to set this preference to true is during extension development, modification of chrome files, or developing other XUL applications in a flat-chrome environment.
First checked in
Has an effect in
- Mozilla Suite (all versions since M12)
- Mozilla Firefox (all versions)
- Mozilla Thunderbird (all versions)
- SeaMonkey (all versions)
- Bug 15146 - [perf] use prototypes to improve 2nd window performance
- Bug 357852 - nglayout.debug.disable_xul_cache causes Firefox to use 100% of the CPU