Skip to content

Commit 6efc333

Browse files
authored
Fix error in cache duration. (solidjs#811)
1 parent 4ccc007 commit 6efc333

File tree

1 file changed

+1
-1
lines changed
  • src/routes/solid-router/reference/data-apis

1 file changed

+1
-1
lines changed

src/routes/solid-router/reference/data-apis/cache.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default function User(props) {
6767
`cache` accomplishes the following:
6868

6969
1. Deduping on the server for the lifetime of the request.
70-
2. Preloading the cache in the browser - this lasts 10 seconds.
70+
2. Preloading the cache in the browser - this lasts 5 seconds.
7171
When a route is preloaded on hover or when load is called when entering a route it will make sure to dedupe calls.
7272
3. A reactive refetch mechanism based on key.
7373
This prevents routes that are not new from retriggering on action revalidation.

0 commit comments

Comments
 (0)