Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Cleaning caches pro/con

Cleaning caches pro/con
Thread Tools
Senior User
Join Date: Aug 2003
Status: Offline
Reply With Quote
Dec 5, 2004, 02:23 PM
 
As part of my monthly maintenance, should I clean or clear all cache from system. what is difference? and user, local cache?, virtual memory... thanks I'm using Onyx
     
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status: Offline
Reply With Quote
Dec 5, 2004, 02:26 PM
 
The system is designed to take care of itself without your help. Don't do anything unless you're having problems.

Chris
     
Forum Regular
Join Date: Sep 2004
Location: Earth
Status: Offline
Reply With Quote
Dec 5, 2004, 07:50 PM
 
Cache cleaning is a troubleshooting step, not a regular maintenance step.

For some info on the side-effects of cache cleaning under later versions of Mac OS X 10.3 Panther, see the notes under Cache Cleaning in my Resolving Disk, Permission, and Cache Corruption FAQ.
Good Luck!

Dr. Smoke
Author: Troubleshooting Mac OS X
     
kevs  (op)
Senior User
Join Date: Aug 2003
Status: Offline
Reply With Quote
Dec 6, 2004, 01:02 AM
 
This came up as having problems with Photoshop not launching properly and some Photoshop people asking about cache among other of the usual ideas and maintenance things.

Does this sound like cache thing? Would kind of scenarios would point you to cache, and could someone put in layman's terms what are downsides are cleaning cache . thanks.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Dec 6, 2004, 01:08 AM
 
Pros to cleaning caches:

- Can sometimes help fix problems that are caused by a bad cache file

Cons to cleaning caches:

- It's a complete waste of time if you aren't having some problem

Now, on to your problem with Photoshop. Since I don't own it, I'll have to ask if Photoshop has its own cache in ~/Library/Caches. If it does, it could be possible that the corrupted cache is making it crash, so cleaning it is a legitimate troubleshooting step. Trashing the prefs file is as well. However, before trying this, I'd try running Photoshop under a different user and seeing if the same problem occurs. If it still does, the problem is probably not anything in the home directory. If it goes away, then the problem probably is in the home directory and could be a prefs file, an Application Support file, a cache file, etc.

Also, sometimes reading the crash log in ~/Library/Logs/CrashReporter can give clues as to what's going wrong.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
kevs  (op)
Senior User
Join Date: Aug 2003
Status: Offline
Reply With Quote
Dec 6, 2004, 07:41 PM
 
Thanks Charles, nice tips.

Of course, the cleaning cache etc is a waste of time if it's not the problem, but you never really know -- until computers get so smart that when you have a problem a box comes up and says "photoshop not launching: please clean cache or please trash preferences"

were probably 100 years off from that.
     
Mac Elite
Join Date: Sep 2000
Location: Tempe, AZ
Status: Offline
Reply With Quote
Dec 6, 2004, 07:55 PM
 
Cleaning caches can sometimes cause new problems. For example, when you clean caches, you remove all of the file associates stored by Launch Services. These tell your Mac what program to use to open a particular file. Often, the ones that get set after you've cleaned caches aren't the ones you want.

In addition, if you have programs that aren't located in your /Applications folder, they'll lose their associations completely until you run that program again. This is almost certainly not what you want to have happen.

I personally feel that you should clean your caches only if you're having a particular problem, and then, you should only clean the particular cache file that you're having a problem with.
Geekspiff - generating spiffdiddlee software since before you began paying attention.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Dec 6, 2004, 07:56 PM
 
Originally posted by kevs:
Thanks Charles, nice tips.

Of course, the cleaning cache etc is a waste of time if it's not the problem, but you never really know -- until computers get so smart that when you have a problem a box comes up and says "photoshop not launching: please clean cache or please trash preferences"

were probably 100 years off from that.
Actually, a partial implementation is less than a year off:


Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
kevs  (op)
Senior User
Join Date: Aug 2003
Status: Offline
Reply With Quote
Dec 7, 2004, 06:53 PM
 
thanks smeger:
that why I put up post. Someone on photoshop forum said clean your caches, which I don't know ramifications of.

But when you say clean cache of the specific problem you mean app, each app has a cache. and where is that to clean? and who do you really know it's at root of problem?
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Dec 7, 2004, 06:55 PM
 
Originally posted by kevs:
thanks smeger:
that why I put up post. Someone on photoshop forum said clean your caches, which I don't know ramifications of.

But when you say clean cache of the specific problem you mean app, each app has a cache. and where is that to clean? and who do you really know it's at root of problem?
The easiest thing is to go to ~/Library/Caches and look for a file or folder whose name contains either the name of the program you're using or the company that made it.

So in the case of Photoshop, you'd look for something that either mentions Adobe or Photoshop.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Mac Enthusiast
Join Date: Mar 1999
Location: Portland, Oregon, United States
Status: Offline
Reply With Quote
Dec 8, 2004, 11:11 AM
 
Originally posted by CharlesS:
Actually, a partial implementation is less than a year off:

Can anyone with the Tiger beta confirm that this works with third party apps as well? Is there some type of database of how 3rd party apps store there prefs or does it only work for apps that use the com.company.product.plist form of preferences. I know that some of the Adobe apps still have a folder in ~/Library/Preferences as well as a .plist and sometimes another file like "Photoshop Preferences" or something like that.

Basically, how robust is this feature?
--Laurence
     
kevs  (op)
Senior User
Join Date: Aug 2003
Status: Offline
Reply With Quote
Dec 8, 2004, 09:39 PM
 
thanks, went to cach folder in home, library, and did not see adobe or photoshop. in fact, most my apps were not mentioned there... office, final cut, ...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:07 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2