Lisa Hodgen

Q: 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)

Posted on Oct 19, 2012 1:55 PM

Close

Q: How do I clear cache in Safari now?

  • All replies
  • Helpful answers

first Previous Page 3 of 5 last Next
  • by dj_rag,

    dj_rag dj_rag Feb 3, 2013 4:22 PM in response to SeanWolf.me
    Level 1 (0 points)
    Feb 3, 2013 4:22 PM in response to SeanWolf.me

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

  • by PattieLennoah,

    PattieLennoah PattieLennoah Feb 6, 2013 1:29 AM in response to Carolyn Samit
    Level 1 (0 points)
    Feb 6, 2013 1:29 AM in response to Carolyn Samit

    Solved mine as well. Thanks, Carolyn!

  • by TBo666,

    TBo666 TBo666 Feb 11, 2013 10:36 AM in response to Lisa Hodgen
    Level 1 (0 points)
    Feb 11, 2013 10:36 AM in response to Lisa Hodgen

    and just to be clear....History -> Clear History WILL NOT clear your cache

  • by Jp Cooper,

    Jp Cooper Jp Cooper May 17, 2013 9:17 PM in response to Carolyn Samit
    Level 1 (35 points)
    May 17, 2013 9:17 PM in response to Carolyn Samit

    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.

  • by UrbanGeeza,

    UrbanGeeza UrbanGeeza May 26, 2013 2:06 PM in response to Lisa Hodgen
    Level 1 (0 points)
    May 26, 2013 2:06 PM in response to Lisa Hodgen

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

  • by dwhitcraft,

    dwhitcraft dwhitcraft May 27, 2013 1:52 PM in response to Lisa Hodgen
    Level 1 (26 points)
    iTunes
    May 27, 2013 1:52 PM in response to Lisa Hodgen

    good answer - thank you!

  • by vikaspell,

    vikaspell vikaspell Jul 31, 2013 9:24 PM in response to Lisa Hodgen
    Level 1 (4 points)
    iPhone
    Jul 31, 2013 9:24 PM in response to Lisa Hodgen

    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

  • by Yellowbox,

    Yellowbox Yellowbox Aug 1, 2013 4:40 AM in response to freediverx01
    Level 6 (10,515 points)
    Mac OS X
    Aug 1, 2013 4:40 AM in response to freediverx01

    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.

  • by ~Bee,

    ~Bee ~Bee Aug 1, 2013 5:07 AM in response to Yellowbox
    Level 7 (31,802 points)
    Mac OS X
    Aug 1, 2013 5:07 AM in response to Yellowbox

    GREAT idea there, Yellowbox!

     

  • by dwhitcraft,

    dwhitcraft dwhitcraft Aug 1, 2013 8:14 AM in response to ~Bee
    Level 1 (26 points)
    iTunes
    Aug 1, 2013 8:14 AM in response to ~Bee

    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"

  • by ~Bee,

    ~Bee ~Bee Aug 1, 2013 11:40 AM in response to dwhitcraft
    Level 7 (31,802 points)
    Mac OS X
    Aug 1, 2013 11:40 AM in response to dwhitcraft

    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.

  • by dewshi,

    dewshi dewshi Aug 9, 2013 12:23 PM in response to Yellowbox
    Level 1 (55 points)
    Aug 9, 2013 12:23 PM in response to Yellowbox

    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

      delete TargetFile

                        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==========*)


  • by jsfid,

    jsfid jsfid Sep 2, 2013 4:26 AM in response to Lisa Hodgen
    Level 1 (0 points)
    Sep 2, 2013 4:26 AM in response to Lisa Hodgen

    Or you can just do CTRL+SHIFT+F5 ?

  • by raysay,

    raysay raysay Sep 21, 2013 12:28 PM in response to Yellowbox
    Level 1 (0 points)
    Sep 21, 2013 12:28 PM in response to Yellowbox

    Hi Yellowbox, I simply set up the folder alias as you suggest and can delete the file called cache.db, but what are the other two caches cache.db-shm and cache.db-wal?

     

    There is also a cache in my folder called Webpage Previews that shows previews of all/some of the browser pages initiated from - I think - Google search, maybe bookmarks, and ?????

     

    What is the effect of deleting these additional caches?

    I see above someone suggested deleting the full folder.

  • by UNSHMD,

    UNSHMD UNSHMD Oct 16, 2013 12:35 PM in response to Lisa Hodgen
    Level 1 (4 points)
    Oct 16, 2013 12:35 PM in response to Lisa Hodgen

    i don't have that option in the advance tab in preference Version 6.0.5 (8536.30.1)

    how do i empty the cache

     

    thanks

    Rob

first Previous Page 3 of 5 last Next