News for hackers. Stuff that matters.
Re:Show HN: SWR(stale while revalidate) library for JavaScri... by droyson on Wednesday September 08, 2021 @10:55PM (#28465698)
The name “SWR” is derived from stale-while-revalidate, a HTTP cache invalidation strategy popularized by HTTP RFC 5861 (https://tools.ietf.org/html/rfc5861). SWR is a strategy to first return the data from cache (stale), then send the fetch request (revalidate), and finally come with the up-to-date data.

There are no comments on this comment yet.