How do I clear cache in Safari now?
found the answer.
Message was edited by: Lisa Hodgen
MacBook Pro (13-inch, Mid 2012), OS X Mountain Lion (10.8.2)
found the answer.
Message was edited by: Lisa Hodgen
MacBook Pro (13-inch, Mid 2012), OS X Mountain Lion (10.8.2)
You can enable the Develop menu to clear the cache if you don't want to clear your history...
From your Safari menu bar click Safari > Preferences then select the Advanced tab.
Select: Show Develop menu in menu bar
Now from the menu bar click Develop > Empty Caches
Hi, I need a bit of help, I can't seem to find com.apple.safari in Cache or anywhere on my mac for that matter.
I even tried making all files visible and still no luck. I tried Clearing history but that did not clear my cache.
Running Safari 6.0.2
Please let me know if anyone has any ideas.
Thanks
V
Vritika --
Quit Safari.
Click out on your desktop somewhere to get Finder menu on the top menu bar. Then look over to the right, and select the "Go" menu while holding down the "Option"button. You will then see an option for "Library" right under your home folder on that list.
That is your hidden Users Library. Open that Library, go down to Caches. Open that, and then look for apple.com.Safari. Take that file to the trash.
Restart Safari.
Clearing your Safari browser cache using the "Develop > Empty Caches" selection in the menu does not work. This is a major bug within Safari - Version 6.0.2
To clear your browser cache you must manually remove the Cache.db from your user files.
Follow these steps to clear your browser cache manually:
- Open "Finder"
- In the menu at the top of your screen select "Go"
- While the "Go" menu is dropped down press and hold the "option" key on your keyboard. This will reveal the selection "Library"
- Select "Library"
- Navigate into the folder "Caches"
- Next navigate into the folder "com.apple.Safari"
- In this folder you will see a file named "Cache.db"
- Right click the "Cache.db" file and select "Move to Trash"
- Now restart Safari by right clicking the Safari icon at the bottom of your screen and select "Quit"
- You have now successfully cleared your browser cache.
- Open Safari and happy browsing :-)
Note: Clearing your browser cache will not remove any saved password, logins or session data. It will just remove the files and images that were cached while browsing within Safari.
this has been such a help you have no idea!!!
I have been unable to get sounds to play on soundcloud since getting a new MBP, there are NO solutions to this i could find online, soundclouds help is generic (doesnt specify browser) so doesnt help, but following these instructions worked perfectly!!! Thanks so much!!
Solved mine as well. Thanks, Carolyn! 🙂
and just to be clear....History -> Clear History WILL NOT clear your cache
Carolyn Samit wrote:
No problem 🙂 Appreciate the points!
@ Carolyn - NO -- do not delete a post. You might think you are only asking for yourself - but this is now May 18th (7 months later) and I came looking for the same answers (just upgraded hardware) and came from 10.6.8 (Snow Leopard).
Lots of stuff between the 2 systems are similar and Mac-like - but there are enough differences that I'm having to trouble shoot above and beyond my normal "new system" tweaks.
So you never know when and for whom a Question will help someone else out.
Thank you for posing the question and thanks to all for pointing out the change.
As usual the UI Devs at Apple (among other software companies) like to mess with us.
...Thanks very much for this .One question How do I check if the folder is really empty .
Because it reappears when I restart Safari .Is that just an empty folder waiting to be filled again ?
Thanks .Niall
good answer - thank you!
I simply use an application called ccleaner which is now also available for mac... simply clears away everything.
just dont understand why safari wont have a way to do it itself
Hi freediver,
I don't want to have to manually delete a file that's burried several layers deep in a hidden folder
I agree. It should be easier. However, having followed the procedure posted by SeanWolf for finding and then deleting the Cache.db file, I right-clicked on the folder com.apple.Safari that contains the cache, and made an Alias of that folder. I moved the Alias to a handy place. The next time I need to clear the Safari cache, a double-click on that Alias will open that folder and I can delete Cache.db
Thank you all for your help.
Regards,
Ian.
GREAT idea there, Yellowbox!
😎
OK - I have a great solution for this:
go to Safari Pref's>
>Advanced
√ check the box that says "Show Develop menu in menu bar"
Then, in the Develop Menu (now in your Sfari menu, select "Empty Caches"
I have tested that, d . . .
It does not clear the Safari cache. I haven't figured out what it does clear out.
"Empty Caches" is not the same as the former option "Clear Safari Cache."
Sean and Yellowbox are correct, in terms of actually clearing the Safari cache.
Try this:
Save the following Applescript as an application
Run to delete the Cache.db
--Empty Safari Cache (v1)
--NB: Save as application
---------------------------------------------
(*==========PROPERTIES==========*)
property path2home : (path to home folder)
property TargetFileName : "Cache.db"
property TargetFileLocation : (path2home & "Library:Caches:com.apple.Safari:") as text
property TargetFile : TargetFileLocation & TargetFileName
property mytitle : "Empty Safari Cache"
(*==========SCRIPT==========*)
--check if Safari is running
set SafariRunning to false
tell application "Finder" to get name of processes
set application_list to result
if application_list contains "Safari" is true then
set SafariRunning to true
end if
--dialog
display dialog "Empty Safari Cache?" default button 2 --with icon 1
--quit Safari first!
if SafariRunning is true then
display dialog "Quit Safari to continue!" buttons {"Cancel", "OK"} default button 2 with icon 0
end if
tell application "Safari" to quit
delay 1
--trash file
tell application "Finder"
if exists file TargetFile then
deleteTargetFile
tell me
display dialog "Cache emptied." buttons {"Launch Safari", "Done"} default button 2 --with icon 1 with title mytitle
set button_returned to button returned of the result
end tell
else
tell me
display dialog "Cache already empty!" buttons {"Launch Safari", "Done"} default button 2 --with icon 1 with title mytitle
set button_returned to button returned of the result
end tell
end if
end tell
--relaunch Safari
if button_returned is "Launch Safari" then
tell application "Safari" to activate
end if
(*==========END==========*)
How do I clear cache in Safari now?