Changes between Version 9 and Version 10 of SharedTileCache
- Timestamp:
- 2014-03-24T14:28:11+01:00 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SharedTileCache
v9 v10 31 31 === Mac OS X === 32 32 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]. 34 34 35 35 == Tile directory layout == … … 124 124 * Applications '''must not''' expect written tiles (or their metadata) to exist on disk or be the same as previously written. 125 125 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. 127 127 128 128 With 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.
