Is there a cache area on leopard?

Discussion in 'macOS' started by Jetheat, Jul 12, 2008.

  1. Jetheat macrumors regular

    Joined:
    Mar 13, 2008
    #1
    In Windows, there is a folder called "Temporary Internet Files" and through that, you can watch previously watched videos.

    Now, on the mac, I want to be able to re-watch some of the previos videos which I had watched before and I would assume that it kept them in cache.

    Where do I find these video files on the mac?

    Appreciate the help,

    JH
     
  2. Amdahl macrumors 65816

    Joined:
    Jul 28, 2004
    #2
    On 10.4, they are in individual files in ~/Library/Caches/Safari

    You've got to guess which file, or else I've read there are some tools that can look and tell you which is which.

    In 10.5 & 10.5.1, they are in ~/Library/Caches/com.Apple.Safari/Cache.db I'm not sure how to extract a file from it, but it is an SQLite3 database, so that probably would be the place to start looking for tools.

    In 10.5.2+, they appear to be stored in a very strange place. My script for defragmenting the Safari cache uses find to locate exactly where it is at in the /private/var/folders tree.

    cd /private/var/folders
    THECACHE=`find . -iname "Cache.db" |grep Safari|head -n1`
    echo $THECACHE

    http://forums.macrumors.com/showpost.php?p=5053757&postcount=6

    QuickTime has its own cache for videos, not sure where that one is at, but ~/Library/Caches/QuickTime/download appears to be it.
     

Share This Page