Disk Cache Dilema and some others.

For discussions specific to the Portable version of the browser.

Moderator: Indalecio

Disk Cache Dilema and some others.

Postby dallas7 » Wed Oct 31, 2012 6:47 am

Pale Moon Portable 15.2.1-x64 in path C:\Portables\Palemoon64.
Win7hpSP1x64

Per http://www.palemoon.org/palemoon-portable.shtml, I've made the following changes to Palemoon-Portable.ini:
browser.cache.disk.enable=true
nglayout.debug.disable_xul_cache=false
FileDelete=%MOZ_PROFILE_PATH%\compreg.dat
browser.cache.disk.parent_directory="E:\Palemoon"


I understand that XUL and JavaScript writes to disk periodically but I don't see them in E:\Palemoon.
Do those get written elsewhere?

I'm also not seeing anything written there for the browser cache.
browser.cache... settings all seem to be correct for disk cache.
about:cache?device=disk reports that "The cache is disabled."
I even set browser.cache.memory.enable to false to no avail.
Where are things going wrong here?

https://picasaweb.google.com/lh/photo/0 ... directlink

Also: In poking around my system I'm seeing these...
A Palemoon-Portable folder in the user variable TEMP folder having, noticed so far, a log and a x-default file. For the serialized XUL/JS cache??
A Moonchild Productions folder containing a profileID.default folder in both
C:\Users\MyAccount\AppData\Local (having urlclassifier and startupcache data)
and
C:\Users\MyAccount\AppData\Roaming (having a richly populated profiles folder).
Should these be showing up?

Thank you :!:
"Machines making machines... How perverse." -C3PO
PALE MOON PORTABLE X64 on two Windows 7 Home Premium Systems
i7-3770K/Z77/AMD-HD7770 Tower • i5-2430M/HM65/iHD3000 Laptop
User avatar
dallas7
Moon lover
Moon lover
 
Posts: 99
Joined: Mon Jan 09, 2012 6:03 pm
Location: Phoenix AZ USA

Re: Disk Cache Dilema and some others.

Postby Moonchild » Wed Oct 31, 2012 8:53 am

If the cache is listed as "disabled" then that would be the root cause for most of your problems. You have to make sure to write to an existing folder for the cache (i.e.: make sure to create E:\Palemoon before you start the browser) or it will be disabled and Pale Moon will use fallback locations for a number of things.

The richly populated profile folder should not be there if all you use is the portable version.
(and you have not made the mistake of trying to run palemoon.exe instead of palemoon-portable.exe).

If you have previously run the desktop version or run palemoon.exe, it will have used the system default locations and settings.
That would also explain the urlclassifier entry there, since safebrowsing is disabled in the portable so it never gets that file.
Please do not send me private messages for anything that could also be posted in the public boards.
User avatar
Moonchild
Pale Moon guru
Pale Moon guru
 
Posts: 8483
Joined: Sun Aug 28, 2011 5:27 pm
Location: Sweden

Re: Disk Cache Dilema and some others.

Postby Moonchild » Wed Oct 31, 2012 9:01 am

I've noticed it may be an issue in the .ini file actually. Try moving the cache location line to below the cache enable flag (i.e.: in the "global" preferences section)
Please do not send me private messages for anything that could also be posted in the public boards.
User avatar
Moonchild
Pale Moon guru
Pale Moon guru
 
Posts: 8483
Joined: Sun Aug 28, 2011 5:27 pm
Location: Sweden

Re: Disk Cache Dilema and some others.

Postby dallas7 » Mon Nov 05, 2012 8:01 pm

I can assure you I did create E:\Palemoon before I went and modified the ini file and ran Pale Moon.

"If the cache is listed as 'disabled' then that would be the root cause for most of your problems." Actually, the problem is... it's disabled when all the settings are correctly configured for it to be enabled.

I run PM 64 Portable on my tower and laptop. They're set up exactly the same; if not for the hardware you couldn't tell them apart (desktop, installed apps, start menu, etc. etc. etc.).

I've always run palemoon-portable.exe. Considering palemoon.exe is two sub-directories down from the root, I cant conceive I ever opened that one even on purpose.

I built the tower three months ago and except for opening Internet Explorer for some needed global configuration, PM is the only browser I've run on it. PM is exclusive on the laptop (about a year old) except I did run Haller's Firefox portable and a Chrome portable for a while and since deleted/purged.

On both systems Moonchild Productions folders are created in C:\Users\MyAccount\AppData\Roaming & \Local. I can delete them and they're built again. Every time, all the time. Both paths are now entries in CCleaner's Include list.

In any event, I cannot get the disk cache to work on either system to save my life. Moving the location line as you suggested didn't resolve it. In fact, nothing appears in %MOZ_PROFILE_PATH%|\\ as well.

Neither of these is a deal breaker as PM is otherwise running superbly for me. (I can safely say I've had disk caching disabled on any Mozilla browser I've used for at least a decade.)

I'm just reporting my observations/confusion and wondering if maybe I'm using the wrong mouse pad or something.

I'm going to assume the Palemoon-Portable folder in the user variable TEMP folder having a log and a x-default file is a result of the serialized XUL/JS cache evoked by nglayout.debug.disable_xul_cache=false.

Either way, I've concluded a return to the default ini is the better part of valor. No further discussion is necessary or expected.

Cheers!
"Machines making machines... How perverse." -C3PO
PALE MOON PORTABLE X64 on two Windows 7 Home Premium Systems
i7-3770K/Z77/AMD-HD7770 Tower • i5-2430M/HM65/iHD3000 Laptop
User avatar
dallas7
Moon lover
Moon lover
 
Posts: 99
Joined: Mon Jan 09, 2012 6:03 pm
Location: Phoenix AZ USA

Re: Disk Cache Dilema and some others.

Postby Herman Strange » Tue Nov 13, 2012 5:32 pm

Tagging on to this thread since it seems related. Per the documentation...

====
;(cache directory)
browser.cache.disk.parent_directory=%MOZ_PROFILE_PATH%|\\"

to a directory of your choice, for example:

browser.cache.disk.parent_directory=c:\palemoon-cache
====

Does not work. However, this does work:

browser.cache.disk.parent_directory=c:\palemoon-cache|\\"

Second point ... for this particular setting at least "user.ini" does not appear to override the default setting in "palemoon-portable.ini"
Herman Strange
Apollo supporter
Apollo supporter
 
Posts: 23
Joined: Thu Sep 15, 2011 4:29 am

Re: Disk Cache Dilema and some others.

Postby dark_moon » Tue Nov 13, 2012 5:39 pm

Hmm the second point isn't a bug.

It's the same like with prefs.js and user.js
The prefs.js override the user.js. This is by design from mozilla
Happy Pale Moon x64 and Fossa Mail x64 under Win7 User
German translator for Pale Moon 15+
User avatar
dark_moon
Lunar Warrior
Lunar Warrior
 
Posts: 1356
Joined: Mon Jan 09, 2012 5:34 pm
Location: Germany

Re: Disk Cache Dilema and some others.

Postby Moonchild » Tue Nov 13, 2012 6:13 pm

Oops -- I did update the page but forgot the suffix to that setting - thanks for pointing it out, I'll update the page.

The portable loader, when it finds a user.ini, doesn't even read the palemoon-portable.ini, so it should never pick up any settings from the palemoon-portable.ini if a user.ini is present.
Please do not send me private messages for anything that could also be posted in the public boards.
User avatar
Moonchild
Pale Moon guru
Pale Moon guru
 
Posts: 8483
Joined: Sun Aug 28, 2011 5:27 pm
Location: Sweden

Re: Disk Cache Dilema and some others.

Postby greebo » Wed Nov 14, 2012 7:29 am

dark_moon wrote:The prefs.js override the user.js.


i do not think so:

http://kb.mozillazine.org/User.js_file

Once an entry for a preference setting exists in the user.js file, any change you make to that setting in the options and preference dialogs or via about:config will be lost when you restart your Mozilla application because the user.js entry will override it.


When you launch your Mozilla application, valid preferences you've added to the user.js file are automatically copied to the prefs.js file


i think it's the other way around.
greebo
Hobby Astronomer
Hobby Astronomer
 
Posts: 16
Joined: Tue Aug 30, 2011 10:41 am


Return to Pale Moon Portable

Who is online

Users browsing this forum: No registered users and 1 guest