How is cached data validated with `reloadRevalidatingCacheData`?

217 Views Asked by At

A URLRequest allows a cache option where cached data is revalidated with the origin by setting the option .reloadRevalidatingCacheData.

The docs say:

Use cache data if the origin source can validate it; otherwise, load from the origin.

I assume the validation works by comparing hash values, but I did not find any reference to that.

How is the data validated?

0

There are 0 best solutions below