mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
@@ -39,7 +39,7 @@ func newResourceCache(rs *Spec, memCache *dynacache.Cache) *ResourceCache {
|
||||
cacheResources: dynacache.GetOrCreatePartition[string, resource.Resources](
|
||||
memCache,
|
||||
"/ress",
|
||||
dynacache.OptionsPartition{ClearWhen: dynacache.ClearOnChange, Weight: 40},
|
||||
dynacache.OptionsPartition{ClearWhen: dynacache.ClearOnRebuild, Weight: 40},
|
||||
),
|
||||
cacheResourceTransformation: dynacache.GetOrCreatePartition[string, *resourceAdapterInner](
|
||||
memCache,
|
||||
|
Reference in New Issue
Block a user