6

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?

Manuel
  • 14,274
  • 6
  • 57
  • 130

0 Answers0