Introduction
CacheLocation determines where an image or video will be cached to once its download completes. There are two options for where the media can be cached to on the device: in memory and in the local file system
ResourceCacheLocation
ResourceCacheLocation
is an enum with two cases:
It is used in the initializers of URLImageView and URLVideoPlayerView