Resolve Odd Mac Problems with Routine Maintenance

Written by:  • Edited by: J. F. Amprimoz
Updated May 31, 2011
• Related Guides: Mac Os X | Mac

A Mac stores data it needs to access often something called a cache. Sometimes, this gets corrupted and problems occur that are hard to diagnose or repair. Often, clearing what's stored here can resolve these issues.

Read This First!

I wrote this article a while ago on an older Mac OS X computer. It worked great for me, and as you can see from the comments below, it's worked great for others too. However, a handful of users experience problems. I'm not sure if it's due to a glitch in the Mac software, if this really only worked well on specific Mac OS versions, or if there's something on a users computer that causes the cache deletion to fail for another reason (like software or hardware). Whatever the case, back up your Mac's data and settings first, and delete cache after you've tried every other option for resolving your problem.

How to Delete Cache

If you own a house, you’ve probably had it sprayed for termites. If you have a dog, it probably wears a flea collar. If you have a car, you regularly have the oil changed. If you do what your doctor tells you, you go in once a year for a checkup. You do these things to prevent problems, catch problems early, and deal with problems as (or before) they arise, hopefully finding small problems and fixing them before they become even bigger ones. You need to take that same kind of care with your computer. In this article, you’ll learn how to delete the Library cache to avoid future problems, or to fix a corrupt cache.

A cache is where OS X stores data it needs to access often (such as extensions and icons). Storing data in cache makes your Mac run faster because it can obtain the data it needs quickly. Sometimes the cache gets corrupt, though, because of software updates, conflicts, and unexpected quits, and this can cause problems. You should delete the library cache occasionally to maintain your Mac’s performance.

You might experience application or system crashes or see seemingly random problems that don’t seem to be caused by anything in particular at all. This could be caused by a corrupt library cache. To prevent the cache from becoming corrupt, you should delete everything in the Caches folders once a month, about the same time you run the file system checker mentioned in a previous article.

Occasionally, cleaning the cache causes problems. This is extremely rare, but possible. For instance, you may be prompted to approve applications you've already cleared and approved, and under Tiger, fonts you've disabled may become enabled. If you have passwords "remembered" in the cache these may be lost. We haven't been able to uncover any other problems that can occur, but to be safe, make sure your data is backed up before starting.

Here’s how to clean your caches:

1. Choose Users>your user name>Library>Caches.

2. From the Menu bar, choose Edit>Select All.

3. Drag all of the items to the Trash.

4. From the Macintosh HD, choose Library>Caches.

5. Choose Edit>Select All, and drag the items to the Trash. You’ll be required to type in an administrator’s password.

6. Restart your Mac.


Comments

Showing all 19 comments
 
Travis C Dec 11, 2011 5:40 AM
RE: Resolve Odd Mac Problems with Routine Maintenance
Your obviously not experienced. An experienced mac user (or a user of any operating system) would never say that clearing caches is bad. Clearing caches does exactly what the post said it does. Removes corrupted files that can slow down your computer more than not having a cache at all. Also, clearing your browser cache has nothing to do with a system cache. Next time you comment, get your facts straight.
Anonymous Sep 17, 2011 2:15 PM
RE: Resolve Odd Mac Problems with Routine Maintenance
where do i find the user part in the beginning?
Strider Aug 6, 2011 10:37 PM
Perhaps a freeware program ...
I wonder if it might be safer, especially for non-technical folk like myself, to use a freeware program like Yasu to perform these tasks. That way we can be fairly confident we aren't accidentally deleting something that we shouldn't be touching. just a thought.
Ari G Aug 5, 2011 9:26 PM
WARNING
As an experience mac user I would HIGHLY suggest NOT to do this...a lot of these caches are very very crucial in 1, making your computer fast, and 2 sometimes even running certain processes. There is a very simple clear cache option in safari that will work for anything server related. If you need to clear all caches and KNOW what your doing, then this method CAN work...but I warn you.
Joli Ballew Jun 27, 2011 9:57 AM
Clearing Cache
I reviewed the options in Settings on my Mac OS X machine, as well as options in Safari. Like you, I did not find any options for clearing cache in Safari regularly. I wonder if you could try another browser? Would Chrome do it, for instance? Firefox? To be honest, I've never consider it - and would not know where to point you other than another browser.
josh Jun 26, 2011 7:17 PM
clearing Safari cache after each browser entry
Is there any way to set Safari so that the browser cache is automatically cleared after each URL entry? We need this for a specific application where shortened Bitly URL's are used and each entry is recorded by Bity so that we can measure usage. Unless the cache is re-set each time, the Mac, simply loads the page again from cache, which means the URL is not sent to Bitly to record the new entry.
Joli Ballew May 28, 2011 1:23 PM
Recent Posts About Cache
Hi Everyone,

Regarding this article, I find that some people really get the results they want, and some people run into problems. Since this article was written a few years ago on a much older Mac than what many of you may have now, I'm going to suggest you back up your Mac first, and then, clear the cache if nothing else has worked. Perhaps this works well only on earlier versions of the Mac OS X software. I'll search for answers though, and if I find anything, I'll be sure to post here.
Anonymous May 27, 2011 10:49 PM
Missing stuff/Altered settings
Hi Joli, I did exactly as what you wrote and after I restarted my computer I noticed things were missing such as all my desktop wallpaper and all my widgets. Also, the menu bar on top (where you see the apple icon, File, Edit, etc.) changed color from the default light gray color to now a light blue color and I am unable t change it. Are there files in the Caches folder that alter settings? I thought everything in the Caches folder was temporary? Thanks.
Joli Ballew May 18, 2011 5:43 PM
Deleting Cache on my iPad also fixed problems
I installed a new router last night as well as a security camera. I had to change the user name and password associated with the camera, when accessed from the Internet. After the upgrade, I could not access the camera from my iPad. I delete Safari's cache, and tried again. This time I was prompted for the user name and password, and was able to log in with the new credentials. When problems like this arise, deleting the cache can be the only way to resolve the problem.
Joli Ballew May 15, 2011 8:43 PM
Never experienced any problems
Hi Anonymous,

I've never experienced any problems at all deleting cache on a Mac or a PC. Recently, I've see a couple of problems related to this, and we've seen comments here. I will ask our other readers: Has anyone ever had this problem? I've never seen it. If I see any other problems, I may opt to pull this article off of BrightHub. I certainly don't want to cause anyone any angst. Readers? Can you help?
rd May 15, 2011 7:35 PM
deleting cache
I tried deleting the cache on my computer as described above, and now my web browser (Firefox) thinks I'm a mobile device! How do I fix this--I thought deleting the cache shouldn't change any program settings?!
Joli Ballew Mar 29, 2011 4:44 PM
Regarding your comments
Hello Everyone,

I've deleted the cache on many computers over my lifetime, and have never had issues. Cache is, by definition, temporary data. Cache in a web browser are temporary files saved by the browser to make loading that page faster the next time you visit. Cache saved in a Photos folder are simply thumbnails of those photos, and not the photos themselves. Cache in say, any other device or program, are simply temporary files that the computer has created on its own for some other reason. I'm not sure how you'd actually lose "real" data when deleting the cache, unless somehow, you accidentally deleted real files, or chose to perform many cleaning tasks at one time, and only assumed deleting the cache was the problem. If you are still encountering problems, feel free to contact me directly at joli_ballew@hotmail.com, and I'll see what I can do. Thanks for your support at BrightHub.com.
really Mar 7, 2011 1:35 PM
RE: Resolve Odd Mac Problems with Routine Maintenance
wow this really messed up my Mac thanks alot now I have no home folder and can't even get on the web.
Guilherme Jan 13, 2011 7:53 AM
Not enough memory excel
Ms Ballew. You literally saved my 'professional' life. I couldn't work with excel and it was just following the procedures that I got my computer running as when I got it.

Thanks!!!!
fsmith Jan 10, 2011 6:31 PM
emptying cache
I found it.
Go to Macintosh HD
Locate USERS follow directions
Go to Macintosh HD and locate Library>caches, etc.
Follow directions.
Hope I did it right and didn't lose any important information.
FSmith Jan 10, 2011 5:57 PM
emptying cache
Ask the Genius, please.. How do I find Users so I can do what I'm supposed to do. The trouble with genius' is they think everyone was born with ability to know where everything is. Hogan asked that very question in August.... Where's the answer? Ask the Genius, I guess. If there had been an answer, I wouldn't have had to ask the question again. Maybe an ordinary person will answer the question????
Irene Jan 10, 2011 8:00 AM
deleting caches
Did not work - in stead I am not able to open aperture to access my thousands of photos. How do I reverse the deletion?
jon hogan Aug 29, 2010 6:10 PM
this is gonna sound stupid
where do i choose users from
Mike Feb 10, 2010 10:25 AM
Emptying Cache
You are Genius! I tried all the disk utility programs, start up disks that came with my G5, new hard drives, new computers, nothing worked - except deleting the cached. Obviously, you truly know what you are talking about.

Nice job. In appreciation.
 
blog comments powered by Disqus
Email to a friend