You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/client/src/index.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@
41
41
*
42
42
* ### Caching
43
43
*
44
-
* By default, the client caches responses in browser environments for a duration of 5 minutes.
44
+
* By default, the client caches successful (200) delegated routing responses in browser environments (that support the [Cache API](https://developer.mozilla.org/en-US/docs/Web/API/Cache)) for a duration of 5 minutes. The client does this by adding an `x-cache-expires` header to the response object.
45
45
*
46
46
* If caching is enabled, the client will cache responses for the duration of `cacheTTL` milliseconds.
0 commit comments