Professional Web Applications Themes

Format of cache files - Mac Programming

I am trying to understand the format of the cache files that seem to be used by several apps. For example, if you look in ~/Library/Caches, you will see the directories 00 01 02 03 .... Inside these directories is another list of directories 00 01 02 03 .... Inside of these are actual .cache files that appear to be a typedstream. Can someone give me a hint as to how these caches are created and the logic as to what ends up in which directory? There must be some common mechanism in the AppKit since several apps seem to ...

  1. #1

    Default Format of cache files

    I am trying to understand the format of the cache files that seem to be used
    by several apps. For example, if you look in ~/Library/Caches, you will see
    the directories

    00
    01
    02
    03
    ....

    Inside these directories is another list of directories

    00
    01
    02
    03
    ....

    Inside of these are actual .cache files that appear to be a typedstream.

    Can someone give me a hint as to how these caches are created and the logic
    as to what ends up in which directory? There must be some common mechanism
    in the AppKit since several apps seem to share this format.

    --
    Bill Tschumy
    Otherwise -- Austin, TX
    http://www.otherwise.com

    Bill Guest

  2. #2

    Default Re: Format of cache files

    In article
    <houston.sbcglobal.net>,
    Bill Tschumy <com> wrote:
     

    A quick look on my system shows this kind of cache only for Safari and
    Sherlock-related items. So a good guess is probably that it's related
    to WebKit's caching features.

    --
    Tom "Tom" Harrington
    Macaroni, Automated System Maintenance for Mac OS X.
    Version 1.4: Best cleanup yet, gets files other tools miss.
    See http://www.atomicbird.com/
    Tom Guest

  3. #3

    Default Re: Format of cache files

    On Fri, 5 Dec 2003 11:56:27 -0600, Tom Harrington wrote
    (in message <tph-6A34CA.10562705122003localhost>):
     
    >
    > A quick look on my system shows this kind of cache only for Safari and
    > Sherlock-related items. So a good guess is probably that it's related
    > to WebKit's caching features.
    >
    >[/ref]

    Maybe so. I also show it for AddressBook, Create, and Meteorologist. I
    wonder if the format is doented anywhere?

    --
    Bill Tschumy
    Otherwise -- Austin, TX
    http://www.otherwise.com

    Bill Guest

  4. #4

    Default Re: Format of cache files

    In article
    <houston.sbcglobal.net>,
    Bill Tschumy <com> wrote:
     

    Have a look at NSURLCache and NSUnarchiver.
    Doc Guest

  5. #5

    Default Re: Format of cache files

    On Sat, 6 Dec 2003 23:00:06 -0600, Doc O'Leary wrote
    (in message <bpsi.net>):
     
    >
    > Have a look at NSURLCache and NSUnarchiver.[/ref]

    Thanks for the pointer. That took me off to "URL Loading System Overview"
    which has a wealth of information. Unfortunately, I was not able to find
    anything on the format of the cache. I assume it is purposely unspecified so
    they can change it later.

    --
    Bill Tschumy
    Otherwise -- Austin, TX
    http://www.otherwise.com

    Bill Guest

Similar Threads

  1. does fcs cache files?
    By dubya in forum Macromedia Flash Flashcom
    Replies: 4
    Last Post: July 13th, 09:23 AM
  2. What format fo save NEF files from APE3
    By Anker in forum Photography
    Replies: 9
    Last Post: January 10th, 12:32 AM
  3. Creating A5 files in PDF format
    By Douglas_Myall@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 1
    Last Post: April 16th, 01:03 PM
  4. Format Files and Web Server Connector
    By Bob Crisler in forum FileMaker
    Replies: 2
    Last Post: September 5th, 01:54 AM
  5. Import of RAW format files impossible?
    By mark luesken in forum Adobe Photoshop Elements
    Replies: 1
    Last Post: August 20th, 10:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139