memory cache onto hard drive

Firefox, Thunderbird, SeaMonkey, Camino, Mozilla, Netscape 6/7/8/9, and all Gecko-based browsers discussion and support forum.
(MozInfo701, Netscape Browser Archive)

Moderators: Antony, Edward, profman, Ramona

memory cache onto hard drive

Postby cuintheicu » Sun 23 Jan, 2005 12:51 pm

HI
I am relatively new to mozilla firefox and have already got hooked on to it.
The problem is as follows:
Earlier when I used internet explorer and I would visit any site all the pics/music files which i viewed or heard were put in the cache. After I was through I used to search my cache for important pics and music. But in firefox though the cache is there... It doesnt make any sense to me. The files dont seem to open anyhow.
I heard about giving the command about:cache in firefox. This certainly showed me the memory cache. But i dont want the memory cache like that. I would like to have it on my hard drive where I can view thumbnails and stuff. That makes it easier to sort the required files.
Can anyone help me with this ?
Thanks
Tarun
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
cuintheicu
new member
new member
 
Posts: 1
Joined: Sun 23 Jan, 2005 12:49 pm

Postby Al » Sun 23 Jan, 2005 5:00 pm

I don't get what are you saying.
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.5) Gecko/20041108 Firefox/1.0
User of Firefox :ff: 3.0 on Windows XP
User avatar
Al
diamond member
diamond member
 
Posts: 1694
Joined: Fri 20 Dec, 2002 1:08 pm

Re: memory cache onto hard drive

Postby J-M » Mon 24 Jan, 2005 2:49 pm

cuintheicu wrote:After I was through I used to search my cache for important pics and music. But in firefox though the cache is there... It doesnt make any sense to me. The files dont seem to open anyhow.

There is some basic things described in a quite new thread
http://sillydog.org/forum/viewtopic.php?t=8025

Mozilla (and other Gecko-based browsers) don't use original file name and file suffix when they save files to memory and disk cache. This is a more secure practice too.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fi-FI; rv:1.7.5) Gecko/20041108 Firefox/1.0
User avatar
J-M
diamond member
diamond member
 
Posts: 815
Joined: Sun 25 Jul, 2004 9:16 am
Location: Helsinki, Finland

Postby profman » Mon 24 Jan, 2005 6:18 pm

I speculate that turning the memory cache off might force all future loads into the disk cache where you could inspect it. The PrefBar extension seems to have check boxes that turn these functions on and off.

There are two memory caches in the Mozilla suite, version 1.7.5 (and Firefox). One is the memory cache, and the other is the hard drive cache. I have no idea what the effect would be if you turned off the memory cache.

Anyone should feel free to jump in here if this speculation is incorrect.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
profman, the mad chemist
Moderator of SillyDog Forums
User of Thunderbird 2.0.0.x & Firefox 3.x
Try Forum Search
User avatar
profman
Moderator
Moderator
 
Posts: 1528
Joined: Wed 11 Sep, 2002 8:00 pm

memory cache onto hard drive

Postby Amrad » Wed 26 Jan, 2005 5:09 pm

Hello Profman,

profman wrote:I speculate that turning the memory cache off might force all future loads into the disk cache where you could inspect it. The PrefBar extension seems to have check boxes that turn these functions on and off.

I'm using Mozilla 1.7.3 and in Edit/Preferences/Advanced/Cache there is only HDD cache! Has memory cache been added since the release of Mozilla 1.7.3?

Regards,

Dave
UserAgent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-GB; rv:1.7.3) Gecko/20040910
Amrad
silver member
silver member
 
Posts: 322
Joined: Fri 01 Aug, 2003 11:38 pm

Re: memory cache onto hard drive

Postby profman » Wed 26 Jan, 2005 5:35 pm

Amrad wrote:Hello Profman,

profman wrote:I speculate that turning the memory cache off might force all future loads into the disk cache where you could inspect it. The PrefBar extension seems to have check boxes that turn these functions on and off.

I'm using Mozilla 1.7.3 and in Edit/Preferences/Advanced/Cache there is only HDD cache! Has memory cache been added since the release of Mozilla 1.7.3?

Regards,

Dave

Memory cache has been around for quite a while, but there is generally no options in the GUI interface for you to control it. The memory cache seems to be turned on by default. The line that I see when I check the "about:config" screen (and type in "cache" as the filter) is "browser.cache.memory.enable" which has the value of "true." Changing this line to "false"will disable the memory cache.

You may also add the line
Code: Select all
user_pref("browser.cache.memory.capacity", 16384);

and change the size of the memory cache.
[Some info in the post was found on the Mozilla newsgroups.]
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
Last edited by profman on Wed 26 Jan, 2005 9:46 pm, edited 1 time in total.
profman, the mad chemist
Moderator of SillyDog Forums
User of Thunderbird 2.0.0.x & Firefox 3.x
Try Forum Search
User avatar
profman
Moderator
Moderator
 
Posts: 1528
Joined: Wed 11 Sep, 2002 8:00 pm

Re: memory cache onto hard drive

Postby Amrad » Wed 26 Jan, 2005 8:24 pm

Hello Profman,

Thanks for your reply.

profman wrote:
Amrad wrote:Hello Profman,

profman wrote:I speculate that turning the memory cache off might force all future loads into the disk cache where you could inspect it.

<snip>


I'm using Mozilla 1.7.3 and in Edit/Preferences/Advanced/Cache there is only HDD cache! Has memory cache been added since the release of Mozilla 1.7.3?

Regards,

Dave

Memory cache has been around for quite a while, but there is generally no options in the GUI interface for you to control it. The memory cache seems to be turned on by default. The line that I see when I check the "about:config" screen (and type in "cache" as the filter) is "browser.cache.memory.enable" which has the value of "true."

<snip>


Ahh, that explains it. Yes, when I checked "about:config" there it was! I wasn't aware of there being a memory cache, I don't recall hearing about it before! :grin_dg:

Thanks for the explanation.

Regards,

Dave.
UserAgent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-GB; rv:1.7.3) Gecko/20040910
Amrad
silver member
silver member
 
Posts: 322
Joined: Fri 01 Aug, 2003 11:38 pm

Postby akbash » Wed 26 Jan, 2005 8:37 pm

Piecing together bits I know and pieces I think I know: the memory cache can't be completely disabled. Some data (anything that came over a secure connection, for example) cannot be cached on disk. "Disabling" the memory cache severely restricts its size, but doesn't completely get rid of it. And I think Mozilla isn't particularly concerned with saving items expelled from the memory cache to disk.

In the end I think some items just never make it to the disk cache and you can't prevent that, but you can reduce their number by disabling the memory cache. I tend to think that would reduce performance. If you're anxious to keep a local copy of everything you browse, look into the Slogger extension. I can't speak for it personally but I've heard good things about it.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050125 Firefox/1.0+
akbash
silver member
silver member
 
Posts: 364
Joined: Mon 09 Feb, 2004 9:13 pm


Return to Firefox, SeaMonkey and Netscape

Who is online

Registered users: Google [Bot], Yahoo [Bot]