3lvis / Networking

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

Cache response for GET requests #230

Closed 3lvis closed 6 years ago

3lvis commented 6 years ago

Introduces a cachingLevel attribute to GET requests that would store the results of the request making it available in the next request. The second time you make a GET request for the same element it will return first the cached response and later the updated response.