T
TanStack7mo ago
extended-salmon

stale time on a serverFn?

is there a way to set a stale time on an individual serverFn? I'd like to be able to have more granular control over my root loader and refetch certain server functions but cache the others.
1 Reply
ambitious-aqua
ambitious-aqua7mo ago
no. a server function is just a function without a cache you need to cache it using e.g. query

Did you find this page helpful?