Skip to content

Commit

Permalink
Enable server-side caching
Browse files Browse the repository at this point in the history
  • Loading branch information
EricTendian committed Jan 1, 2025
1 parent d55888e commit 1da43d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/components/transcript-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,8 @@ export default class TranscriptSearchComponent extends Component {
protocol: typesenseUrl.protocol.replace(':', ''),
},
],
cacheSearchResultsForSeconds: 60, // Cache search results from server. Defaults to 2 minutes. Set to 0 to disable caching.
cacheSearchResultsForSeconds: 60, // Cache search requests for 60 seconds
useServerSideSearchCache: true, // Enable the server-side search cache
},
// The following parameters are directly passed to Typesense's search API endpoint.
// So you can pass any parameters supported by the search endpoint below.
Expand Down

0 comments on commit 1da43d7

Please # to comment.