Commit
Refactor loaders and queries for improved caching and revalidation
Commit details
Commit notes
- Updated loaders to return cached data immediately and trigger background revalidation, enhancing performance and user experience. - Adjusted query options to reduce stale times for various data fetching operations, ensuring fresher data is presented to users. - Improved query client configuration to prioritize fresh data and reduce cache duration, promoting timely updates across the application.
- Files changed
- 3
- Lines added
- +119
- Lines removed
- −85