should Skip Caching
fun shouldSkipCaching(imageUri: <Error class: unknown class>, headers: Map<String, List<String>>?): Boolean
Determines whether an image should be cached based on the image uri and headers.
Images will be skipped from caching if:
The image URL contains a query parameter with the key
cacheset tofalseThe headers have a "Cache-Control" entry with a value of "no-cache" or "max-age=0"
Parameters
image Uri
The uri of the image
headers
The response headers of the image request