v2.0.0
Major Changes
-
bb77a6b: Merge upstream kornelski/http-cache-semantics v4.2.0: add
evaluateRequest()for stale-while-revalidate support, fix min-fresh and must-revalidate handling, and preserve constructor options inrevalidatedPolicy().Remove unused
trustServerDateoption.Breaking: Remove
CacheQueryOptionsand publicuseStaleIfError(). Normalize theRequestat the cache layer before callingevaluateRequest(); userevalidatedPolicy()for stale-if-error handling.