Skip to content

Commit

Permalink
Fix error in cache duration. (#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiftoo authored Jul 18, 2024
1 parent 4ccc007 commit 6efc333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/solid-router/reference/data-apis/cache.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function User(props) {
`cache` accomplishes the following:

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

0 comments on commit 6efc333

Please sign in to comment.