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
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



