setCachePolicy needs to be of type `NSURLRequestCachePolicy`  and not `NSURLCacheStoragePolicy`