Page 1 of 1

Some advanced options

Posted: 2014-02-07, 21:20
by Moonchild
Some advanced options for using the Portable browser.
Note that these kind of changes are at your own risk and I will not provide support for edited versions in most cases.

Advanced options

Note that any edits to palemoon-portable.ini will be overwritten if you install a new version of the portable on top of it. To prevent losing your edits, save the .ini file as user.ini in the Pale Moon portable folder. This file will take precedence over palemoon-portable.ini. (meaning: if user.ini is found, palemoon-portable.ini will be ignored. it has to be a full copy of the palemoon-portable.ini file with your edits).
If you do this, also check to see if anything specific has changed in the new palemoon-portable.ini since the portable framework, script and .ini may see some changes from time to time to improve functionality.

If you run Pale Moon Portable from your hard disk (to keep it self-contained)
You may want to enable the disk cache and xul cache for better performance. Be aware that the Portable version will not provide file associations unless you specifically make them, yourself.

To enable caching, find the appropriate section in Palemoon-Portable.ini, under "Global Preferences":

;(enable cache)
browser.cache.disk.enable=false --> Change this to "true"

By default, these settings will store the disk cache as a subdirectory of your profile called Cache.
If you prefer to have the cache in a different directory instead, change the following:

;(cache directory)

to a directory of your choice, for example:


If you want to use Pale Moon portable to test
For example to test a different version of Pale Moon while you already have one installed (e.g. new version check, check for compatibilities of add-ons with a major release, etc.) and want to run multiple different versions at the same time, find the following lines in palemoon-portable.ini:

;(multiple istances)

and remove the semicolon in front of MOZ_NO_REMOTE

Re: Some advanced options

Posted: 2014-02-15, 15:05
A question on caching if you don't mind.

What would be the difference, if any, between storing the cache in a ramdisk:

browser.cache.disk.enable = true
browser.cache.disk.parent_directory = R:\PaleMoon\Cache
<--- (where R: is a ramdisk)

... and browsing without any disk cache at all, only memory cache, something like this:

browser.cache.disk.enable = false

browser.cache.memory.enable = true
browser.cache.memory.capacity = 1048576
browser.cache.memory.max_entry_size = 51200

As long as RAM is not powered off, can memory caching replace disk caching, or will I miss something by not using disk cache?

Re: Some advanced options

Posted: 2014-02-15, 15:09
by Moonchild
Memory cache and disk cache have two completely different functions and memory cache cannot and will not replace disk cache because of the different purpose they serve. Setting memory cache capacity to a very high number will not help, as it won't be used.
See also:

Re: Some advanced options

Posted: 2014-02-15, 20:29
Ouch, so the memory cache only deals with "decoded images, messages, and chrome".

I've been monitoring about:cache and you're right, the memory cache storage in use never seems to grow above ~125,000 KiB no matter what I try.