Changes between Version 9 and Version 10 of SharedTileCache


Ignore:
Timestamp:
2014-03-24T14:28:11+01:00 (12 years ago)
Author:
wavexx
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SharedTileCache

    v9 v10  
    3131=== Mac OS X ===
    3232
    33 {{{~/Library/Caches/Shared Tile Cache}}} (use the NSPathUtilities to locate the cache directory using [https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Constants/Reference/reference.html NSCachesDirectory]
     33{{{NSCachesDirectory/Shared Tile Cache}}} (usually "~/Library/Caches/Shared Tile Cache"). Use the NSPathUtilities to locate the cache directory using [https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Constants/Reference/reference.html NSCachesDirectory].
    3434
    3535== Tile directory layout ==
     
    124124* Applications '''must not''' expect written tiles (or their metadata) to exist on disk or be the same as previously written.
    125125
    126 * Updates to the cache properties and tile metadata '''must''' be similarly performed using atomic replacement. Since no locking is performed, applications almost '''must not''' cache their contents.
     126* Updates to the cache properties and tile metadata '''must''' be similarly performed using atomic replacement. Since no locking is performed, applications '''must not''' cache their contents.
    127127
    128128With this approach, a tile being updated concurrently may remove existing metadata, however doesn't require any locking or sophisticated metadata syncronization. Moreover, it doesn't break the assumption that metadata is optional while guaranteeing that any data (when present) is not stale.