3lvis / Networking

Swift HTTP Networking with stubbing and caching support
MIT License
1.36k stars 112 forks source link

Caching folder should not be documents folder #237

Closed webventil closed 5 years ago

webventil commented 6 years ago

Currently the documents folder is used for caching in a non testing environment. This is quiet unusual and should be changed to an temporary folder. Unfortunately the whole documents folder is excluded from the backup! This folder often contains the CoreData database. So it it not good to exclude it from backup!

https://github.com/3lvis/Networking/blob/dae95a28e464a39ee7d152eafa282eb1b2fa2b34/Sources/Networking.swift#L213

webventil commented 6 years ago

I created a pull request for it #238.