Skip to content

Commit b0927d5

Browse files
committed
Add x-apicache-revalidate to README
1 parent b1f3ca3 commit b0927d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ routes to be cached from your public client, but NOT cached when from the admin
246246
is achieved by sending a `"x-apicache-bypass": true` header along with the requst from the admin.
247247
The presence of this header flag will bypass the cache, ensuring you aren't looking at stale data.
248248

249+
Additionally, you may want to bypass loading stale content for a request while still updating the cache with fresh content. To achieve this, include a `"x-apicache-bypass": true` header with the request.
250+
249251
## Contributors
250252

251253
Special thanks to all those that use this library and report issues, but especially to the following active users that have helped add to the core functionality!

0 commit comments

Comments
 (0)