Search code examples
akavache

Reading Akavache cache from Swift


I'd like to load Akavache data from Swift. I've found myapp.db{-wal,-shm} files under Library/Application Support/MyApp/BlobCache and can read myapp.db, but I'm not sure how to read key-values from the other files.

Is there some documentation somewhere of these file formats?


Solution

  • According to Paul Betts, the Value field of the CacheElement rows are BSON blobs. The files adjacent to the SQLite database file are irrelevant.