I want to retrieve the data from a cached URLResponse
as a local URL or path instead of the Data
object in memory.
Is this possible? I know that URLCache
puts its data inside a Cache.db
file somewhere...
Background: I want to use URLCache
as my app's cache solution and be able to quickly open QLPreviewController
to show files. A workaround would be to copy the data to a temp file but I want to know if there's a direct way.