Change `query` cache lifetime

Is there any way to change the cache lifetime of a query in Solid? I am trying to speculatively preload page data, but the preload operation is often >5 seconds before the page might actually be loaded, meaning the query cache expires.
1 Reply
Madaxen86
Madaxen864w ago
No. That Parameter is fixed. You might use Tanstack query instead which exposes an api for all the params.

Did you find this page helpful?