What does the 'stale-while-revalidate' caching strategy do?
-
A
Serves only from the network and ignores the cache
-
B
Serves a cached response immediately while fetching an updated version in the background
-
C
Deletes stale entries and waits for a fresh network response
-
D
Serves cached content only when the network is unavailable