Removing the beachball from Safari

by Volker Weber

Safari was building up Windows-like behaviour on both Lucy and Snoopy. Whenever I clicked a few links to be opened in the background, Safari would switch on the beachball (for Windows-users: the hourglass). This was however completely resolved once I deleted the 20 meg Safari cache in the library folder:

~/Library/Caches/Safari

Everything is back to normal. Have you had similar experiences?

Comments

Yup. Same here. And just in case you don't want to delete that stuff manually all the time: Open a terminal window and execute "crontab -e". Using the famous vi (press "i" to active insert mode) enter the following line:

5 0 * * * /bin/rm -rf ~/Library/Caches/Safari/*

Then save and exit using [Esc][:][x][Enter]. From now on, Safari's cache will be cleared every day at 00:05 am. Shouldn't be too hard to adapt for other times of the day.

And for the few of us who:

- go to bed before 00:05 and
- shut off their computers at night

anacron is a better choice. Installing it and adding

7 5 safari.deletecache /bin/rm -rf ~/Library/Caches/Safari/*

to /etc/anacrontab

will delete the cache once a week (anacron wil also trigger other maintenance tasks which may be skipped on systems not running 24-7).

Onyx does the same thing as well - as well as all other caches, customizing your finder, erasing logs, etc...

You can find it at http://www.titanium.free.fr - running it once a month or so keeps my pbook neat and lean...

Safari itself offers a "erase" cache option.

Just go to the Safari menu and select the approriate option (in Italian language "Vuota la cache").
You can also do this directly from the keyboard with the Apple+alt+E(mpty).

Of course anacron is a more elegant solution but, all this automatic routines scare me a bit :-)

Ole's tip is the one that doesn't need constant watching-over or remembering. I use DeskTopConsole, however, so I kinda watch stuff going on in my system anyways. ;)

If this is a Safari built-in option it should be scriptable. I am not sure, that removing the cache directory won't break stuff in the future versions which are believed to contain a lot more moronic code[tm].

Just me EUR0.02

Regards,
/k

Post a comment











Shall I remember this for you?




Use your full name and a working email address. Unless you want your comment to be removed. No kidding.



Recent comments

Daniel Haferkorn on Interview goes bad. Or just honest. at 20:44
ursus schneider on Interview goes bad. Or just honest. at 19:50
Thomas Cloer on Tame your Time Machine at 18:51
Volker Weber on Tame your Time Machine at 17:36
Frank Mueller on Tame your Time Machine at 17:33
Pieterjan Lansbergen on Tame your Time Machine at 17:02
Samuel Orsenne on New hardware coming up at vowe's magic flying circus at 15:52
Johannes Matzke on Interview goes bad. Or just honest. at 13:47
Volker Weber on Sonos gear at 50% off at 13:44
Volker Weber on Aqua Alta Surfing - quite a PR stunt for Red Bull at 13:35
Volker Weber on BlackBerry Storm too nervous at 13:33
David Justen on Aqua Alta Surfing - quite a PR stunt for Red Bull at 13:26
Volker Weber on New hardware coming up at vowe's magic flying circus at 10:35
Samuel Orsenne on New hardware coming up at vowe's magic flying circus at 10:18
Glen Salmon on Sonos gear at 50% off at 04:34
Bill Buchan on Aqua Alta Surfing - quite a PR stunt for Red Bull at 23:20
Torsten Otto on Sonos gear at 50% off at 21:57
Peter de Haas on Windows blues at 21:26
Hajo Schmitt on New hardware coming up at vowe's magic flying circus at 20:14
Hajo Schmitt on New hardware coming up at vowe's magic flying circus at 20:07
Volker Weber on Windows blues at 19:54
Peter de Haas on Windows blues at 19:47
Volker Weber on Nokia advertises Lotus Notes Traveler at 19:43
Volker Weber on New hardware coming up at vowe's magic flying circus at 19:35
Goetz Goerisch on New hardware coming up at vowe's magic flying circus at 19:09

Ceci n'est pas un blog

vowe.net is a personal website published by Volker Weber a.k.a. vowe. I am an author, consultant and systems architect based in Darmstadt, Germany.

rss Click here to subscribe

Hello

About me
Contact
Publications
Certificates
Frequently asked questions
Join the network

Poll

Which BlackBerry could be your next one?

Getting poll results. Please wait...

Local time is 22:28

visitors.gif
149 visitors online

News

Other sources of news, imported into my own format to make them more accessible:

Heise Online
Schlagzeilen
Weather
Blog roll

Archives

As most of my articles roll off the front page rather quickly, I am making an archive of previous posts available here. You can also use the handy search box at the top of the page if you are looking for something particular.

Last 30 days
More archives

Got the T-shirt?

Got the T-shirt?

Systems Architecture

This site runs on an Apache web server on top of the Linux operating system. The content is managed with MovableType 2.661 which is implemented in Perl. Last but not least the HTML code your browser sees is put together with PHP.

© 1992-2008 Volker Weber.
All Rights Reserved.

Impressum