Implement Stale-While-Revalidate Caching in WordPress with Transients an ...
Stale-while-revalidate caching with WordPress transients A normal transient has one weak moment: when it expires, the next visitor waits while the expensive value is rebuilt, and on a busy site several visitors rebuild it at the same time. Stale-while-revalidate avoids both: after the “fresh” time the old value is still served, and a single background…
Details