Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Mac Applications / January 2005



Tip: Looking for answers? Try searching our database.

Safari hanging up

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SG - 24 Jan 2005 03:11 GMT
Safari is taking so much time loading some sites, lately, I've taken to
using Explorer again, which is a drag. Is there some type of
maintenance I should be doing to get it back up to speed?
Jerry Kindall - 24 Jan 2005 04:12 GMT
> Safari is taking so much time loading some sites, lately, I've taken to
> using Explorer again, which is a drag. Is there some type of
> maintenance I should be doing to get it back up to speed?

Safari likes to maintain a big favicon cache from which it never
deletes anything.  Enter this on the command line:

  rm -rf ~/Library/Safari/Icons

You will probably find that Safari is 99.44% zippier afterward.

Another thing you can do is delete the file ~/Library/Safari/Form
Values, which stores the data you've entered into Web forms in Safari.
Safari doesn't do any pruning of this file, either, and it will
continue to grow without bound.

I have found OmniWeb not to have these problems and to be well worth
the $30.  It's essentially Safari plus everything you wish Safari had,
but without the things you dislike about Safari.

Signature

Jerry Kindall, Seattle, WA                <http://www.jerrykindall.com/>

       Send only plain text messages under 32K to the Reply-To address.
       This mailbox is filtered aggressively to thwart spam and viruses.

John Rethorst - 24 Jan 2005 04:59 GMT
> Safari likes to maintain a big favicon cache from which it never
> deletes anything.  Enter this on the command line:
>
>    rm -rf ~/Library/Safari/Icons
>
> You will probably find that Safari is 99.44% zippier afterward.

it certainly is! Thanks!

Signature

John Rethorst
jrethorst at post dot com

Devi Jankowicz - 24 Jan 2005 08:37 GMT
> > Safari likes to maintain a big favicon cache from which it never
> > deletes anything.  Enter this on the command line:
[quoted text clipped - 4 lines]
>
> it certainly is! Thanks!

On which command line, Jerry. I tried putting it into the address line
of Safari, duh, and that didn't work!

Is it a Terminal command? And if so, do I just type it in after opening
Terminal (which I don't as a rule understand).

Kind regards,
Devi
Jerry Kindall - 24 Jan 2005 15:53 GMT
> > > Safari likes to maintain a big favicon cache from which it never
> > > deletes anything.  Enter this on the command line:
[quoted text clipped - 10 lines]
> Is it a Terminal command? And if so, do I just type it in after opening
> Terminal (which I don't as a rule understand).

Yeah, that's a Unix commmand, and it goes in the Terminal.

Signature

Jerry Kindall, Seattle, WA                <http://www.jerrykindall.com/>

       Send only plain text messages under 32K to the Reply-To address.
       This mailbox is filtered aggressively to thwart spam and viruses.

Stephen M. Adams - 24 Jan 2005 16:20 GMT
>> > Safari likes to maintain a big favicon cache from which it never
>> > deletes anything.  Enter this on the command line:
[quoted text clipped - 10 lines]
>Is it a Terminal command? And if so, do I just type it in after opening
>Terminal (which I don't as a rule understand).

Yes, this is a terminal command.  Simply start the terminal and type
the above command exactly.  Then press enter.  You should just get the
pormpt back with no output.

Then you can quit Terminal.

-Stephen
Signature

 Space Age Cybernomad                                   Stephen Adams
            malchus842SP@AMgmail.com (remove SPAM to reply)

nosredna - 24 Jan 2005 14:00 GMT
> > Safari is taking so much time loading some sites, lately, I've taken to
> > using Explorer again, which is a drag. Is there some type of
[quoted text clipped - 15 lines]
> the $30.  It's essentially Safari plus everything you wish Safari had,
> but without the things you dislike about Safari.

How does Firefox compare in terms of cache issues, then?
Jerry Kindall - 24 Jan 2005 15:53 GMT
> > > Safari is taking so much time loading some sites, lately, I've taken to
> > > using Explorer again, which is a drag. Is there some type of
[quoted text clipped - 17 lines]
>
> How does Firefox compare in terms of cache issues, then?

It's fine with its disk cache, although it does tend to eat all
available memory if you don't curb it.  After a long session you can
find other applications swapping a lot. What you have to do is go to
about:config, right-click in the preference list, add a new preference
called browser.cache.memory.capacity, and set its value to 16000 or
thereabouts.

Signature

Jerry Kindall, Seattle, WA                <http://www.jerrykindall.com/>

       Send only plain text messages under 32K to the Reply-To address.
       This mailbox is filtered aggressively to thwart spam and viruses.

SG - 24 Jan 2005 18:06 GMT
Jerry, how do this? Where is "About"? Where is "config"? Where is the
preference list?

"What you have to do is go to
about:config, right-click in the preference list, add a new preference
called browser.cache.memory.capacity, and set its value to 16000 or
thereabouts."
Jerry Kindall - 25 Jan 2005 03:39 GMT
> Jerry, how do this? Where is "About"? Where is "config"? Where is the
> preference list?

about:config is a URL.  Enter it in the location field.  When you do
that, you'll see where the preference list is.  %)

> "What you have to do is go to
> about:config, right-click in the preference list, add a new preference
> called browser.cache.memory.capacity, and set its value to 16000 or
> thereabouts."

Signature

Jerry Kindall, Seattle, WA                <http://www.jerrykindall.com/>

       Send only plain text messages under 32K to the Reply-To address.
       This mailbox is filtered aggressively to thwart spam and viruses.

DaveC - 24 Jan 2005 19:23 GMT
> It's fine with its disk cache, although it does tend to eat all
> available memory if you don't curb it.  After a long session you can
> find other applications swapping a lot. What you have to do is go to
> about:config, right-click in the preference list, add a new preference
> called browser.cache.memory.capacity, and set its value to 16000 or
> thereabouts.

"right-click"? How with a (standard) 1-button mouse or trackpad?

You sure you're not using Windows?
Signature

Please, no "Go Google this" replies. I wouldn't
ask a question here if I hadn't done that already.

DaveC
me@privacy.net
This is an invalid return address
Please reply in the news group

Jerry Kindall - 25 Jan 2005 03:41 GMT
> > It's fine with its disk cache, although it does tend to eat all
> > available memory if you don't curb it.  After a long session you can
[quoted text clipped - 4 lines]
>
> "right-click"? How with a (standard) 1-button mouse or trackpad?

Sorry, I've been using multi-button mice on my Mac for the last ten
years or so.  If you don't have one, just mentally insert
"control-click" until you do.

> You sure you're not using Windows?

Wouldn't matter if I were for Firefox, since it's the same on all
platforms.

Signature

Jerry Kindall, Seattle, WA                <http://www.jerrykindall.com/>

       Send only plain text messages under 32K to the Reply-To address.
       This mailbox is filtered aggressively to thwart spam and viruses.

Newbie - 25 Jan 2005 08:49 GMT
> > How does Firefox compare in terms of cache issues, then?
>
[quoted text clipped - 4 lines]
> called browser.cache.memory.capacity, and set its value to 16000 or
> thereabouts.

Does this affect only firefox or all browsers? BTW I did it and the
"type" came out to be string? Do I want integer instead? How do I
change that? Are such tricks documented somewhere? Thanks.
Jerry Kindall - 25 Jan 2005 16:29 GMT
> > > How does Firefox compare in terms of cache issues, then?
> >
[quoted text clipped - 8 lines]
> "type" came out to be string? Do I want integer instead? How do I
> change that? Are such tricks documented somewhere? Thanks.

This particular configuration setting is for Firefox only.

Yeah, you want integer.  Just delete the string one you added, and add
it again as integer instead.

Signature

Jerry Kindall, Seattle, WA                <http://www.jerrykindall.com/>

       Send only plain text messages under 32K to the Reply-To address.
       This mailbox is filtered aggressively to thwart spam and viruses.

Newbie - 25 Jan 2005 19:18 GMT
> Yeah, you want integer.  Just delete the string one you added, and add
> it again as integer instead.

I am embarrassed to admit it but I can't figure out how to delete it. I
can modify the value but the type remains string.

This is why I hate GUI sometimes: Selecting and pressing delete doesn't
work. Left click does nothing, right click gives no option to delete.
Creating a new integer string with the same name fails.

How to delete or change type?

What is the name of this file? I could try editing the line out in
terminal.

Thanks.
Jerry Kindall - 26 Jan 2005 04:41 GMT
> > Yeah, you want integer.  Just delete the string one you added, and add
> > it again as integer instead.
[quoted text clipped - 10 lines]
> What is the name of this file? I could try editing the line out in
> terminal.

It's called prefs.js and it's inside your home directory, in the
Application Support folder, subfolder Firefox, then in that folder
there's a folder called Profiles, then in that there's one called
default.xxx (the xxx will be different on each machine).  Probably
easier just to search for it.

If you open it up in TextWrangler (it's free now!) you'll probably find
a line like this somewhere in there:

user_pref("browser.cache.memory.capacity", "16000");

Make sure Firefox isn't running, then just take the quotes off the
16000 so it looks like this:

user_pref("browser.cache.memory.capacity", 16000);

If that doesn't work, just delete that line entirely and re-add it
through Firefox about:config.

Signature

Jerry Kindall, Seattle, WA                <http://www.jerrykindall.com/>

       Send only plain text messages under 32K to the Reply-To address.
       This mailbox is filtered aggressively to thwart spam and viruses.

Newbie - 26 Jan 2005 06:35 GMT
> It's called prefs.js and it's inside your home directory, in the
> Application Support folder, subfolder Firefox, then in that folder
[quoted text clipped - 9 lines]
> Make sure Firefox isn't running, then just take the quotes off the
> 16000 so it looks like this:

Thanks, it works!  Maddening that you should not be able to do it in
about:config.

Another mystery was that when I located prefs.js and right-clicked, it
offered to open in BBedit rather than say Simple Text or Emacs, both of
which I also have. Now I know I got BBedit but I don't remember setting
it as my default editor, unless I unknowingly clicked on something
sometime (how often I have been tricked into setting some site as my
"home page"!). Anyway, it got the job done.

I'll watch to see if FF is any preppier. BTW, how do we get 16000?
Where do I pick up this level familiarity with OSX and its apps? :)
Jerry Kindall - 26 Jan 2005 17:07 GMT
> > It's called prefs.js and it's inside your home directory, in the
> > Application Support folder, subfolder Firefox, then in that folder
[quoted text clipped - 19 lines]
> sometime (how often I have been tricked into setting some site as my
> "home page"!). Anyway, it got the job done.

Probably BBEdit said "I can handle .js files" and no other program
you've installed has claimed them.  That's set differently for every
type of file, so you could have different editors set for other kinds
of text files.

> I'll watch to see if FF is any preppier. BTW, how do we get 16000?
> Where do I pick up this level familiarity with OSX and its apps? :)

16000K (that number is kilobytes) is about 16 megabytes.  You could use
a bigger or smaller value, but everyone who's recommending this setting
suggests 16000.  Probably it originated with one of the Firefox
developers, although that's not guaranteed.  The number's not really
that important; what's important is that it stops Firefox from using as
much memory as it wants and limits it to 16M.

To pick up this level of familiarity with Firefox, you could start here:

  <http://www.mozilla.org/support/firefox/tips>

(It's got some Windows stuff in there but most of it's applicable to
all platforms including Mac OS X.)

They suggest editing prefs.js directly, but using about:config is
generally considered "safer" since it's harder to make a mistake in
syntax.  It does the same thing.

Signature

Jerry Kindall, Seattle, WA                <http://www.jerrykindall.com/>

       Send only plain text messages under 32K to the Reply-To address.
       This mailbox is filtered aggressively to thwart spam and viruses.

SG - 24 Jan 2005 18:08 GMT
Jerry, I went to the Safari file in the Library and tossed the icon
file. I hope that's what you meant.
How does one enter a commmand line? Where does it go?
Stephen M. Adams - 24 Jan 2005 18:51 GMT
>Jerry, I went to the Safari file in the Library and tossed the icon
>file. I hope that's what you meant.

That should do it.

>How does one enter a commmand line? Where does it go?

Go to Applications --> Utilities and double-click on Terminal

A window will open and you will have command line access to Mac OSX.
This is a "unix" command shell.  Here's some info:

http://www.macdevcenter.com/pub/a/mac/2001/12/14/terminal_one.html
http://www.macdevcenter.com/pub/a/mac/2002/01/22/terminal_pt2.html

-Stephen
Signature

 Space Age Cybernomad                                   Stephen Adams
            malchus842SP@AMgmail.com (remove SPAM to reply)

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.