mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
[CST-5729] Add possibility to store response's headers into the SSR cache
This commit is contained in:
@@ -13,6 +13,8 @@ export interface CacheConfig extends Config {
|
||||
serverSide: {
|
||||
// Debug server-side caching. Set to true to see cache hits/misses/refreshes in console logs.
|
||||
debug: boolean,
|
||||
// List of headers to restore from the cache hit
|
||||
headers: string[],
|
||||
// Cache specific to known bots. Allows you to serve cached contents to bots only.
|
||||
botCache: {
|
||||
// Maximum number of pages (rendered via SSR) to cache. Setting max=0 disables the cache.
|
||||
|
Reference in New Issue
Block a user