We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13e039e commit 5ba59b6Copy full SHA for 5ba59b6
config/config.example.yml
@@ -381,8 +381,11 @@ comcolSelectionSort:
381
sortField: 'dc.title'
382
sortDirection: 'ASC'
383
384
+# REST response prefetching configuration
385
prefetch:
386
+ # The URLs for which the response will be prefetched
387
urls:
388
- /api
389
- /api/discover
390
+ # How often the responses are refreshed in milliseconds
391
refreshInterval: 60000
src/config/prefetch-config.ts
@@ -12,7 +12,7 @@ export interface PrefetchConfig extends Config {
12
*/
13
bootstrap: Record<string, RawBootstrapResponse>;
14
/**
15
- * How often the HAL endpoints should be refreshed
+ * How often the responses should be refreshed in milliseconds
16
17
refreshInterval: number;
18
}
0 commit comments