Caches an external file to the file cache, returning a local filesystem path that can be used to open the file immediately elsewhere in the app.
External URL to download the file from.
Headers to include in the HTTP call to download the file.
Time to live
The number of seconds the cached file will stay in the cache. Defaults to 2 weeks.
Allow self-signed SSL certificate?
Number of outputs: 2
Object describing the cached file in the local filesystem
Absolute local filesystem path representing the file location on the device, including the filename and extension. On web, this is created via the [`createObjectURL`](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL) method.
MIME type of the file, if it could be determined.
Name of the file in the local filesystem, if applicable. Note that the filename and extension are included in the **Local path** property already.
Size of the file, in bytes.
Creation datetime of the file, if it can be determined.
Datetime when the file was last modified, if it can be determined.
Thrown when trying to cache the file resulted in an unknown error.