Here's the bug about making it dependent on a pref:
https://bugzilla.mozilla.org/show_bug.cgi?id=1541233
Even just checking for the existence of a file can take a really long time depending on the disk speed and other on going IO.
Even just checking for the existence of a file can take a really long time depending on the disk speed and other on going IO.