Client-Side Caching Query in JS SDK
TLDR Gustavo asked about client-side caching using JS SDK, but Jason mentioned it isn't documented directly.

Jun 21, 2023 (3 months ago)
Gustavo
02:36 PMcacheSearchResultsForSeconds
, but the documentation doesn't seem to mention it.Jason
04:35 PM
Typesense
Indexed 2764 threads (79% resolved)
Similar Threads
Debugging Search Issue with Typesense Server Caching
Jameshwart reported experiencing caching issues with typesense server, despite the server's default setting of not caching. Through troubleshooting steps with Kishore Nallan, they were able to confirm an issue with the Typesense Javascript client and resolved it by adding `cacheSearchResultsForSeconds: 0` after `apiKey` in the initialisation. Laura also participated in discussion, learning about server and client level caching.
Improving Documentation for 'cacheSearchResultsForSeconds' Function
Edson suggested that 'cacheSearchResultsForSeconds' function should be included in official documentation. CaptainCodeman shared insights on using caching mechanisms for improving performance. Jason agreed and provided useful details about client-side and server-side caching options in Typesense.

Discussing `use_cache` and `cacheSearchResultsForSeconds` Options
Aljosa wanted a confirmation for a technical issue and Jason suggested to use `use_cache` for both. Proposed updates were given to check if their issue resolves. Aljosa agreed to test out the proposed solution.

