NuCache Settings
Information on the NuCache settings section
The NuCache settings allow you to configure different aspects of how cached content is stored and retrieved. Below are the details of the available settings and how they can be configured to optimize performance and compatibility with your project needs.
BTreeBlockSize
The block size must be a power of two. It should be at least 512 and at most 65536 (64K).
NuCacheSerializerType
The NuCacheSerializerType
setting allows developers to specify the serialization format for NuCache content. This setting is particularly relevant for projects migrating from older versions of Umbraco that relied on JSON formats.
To use JSON serialization instead of the default MessagePack:
Using 'Program.cs'
Using 'appsettings.json'
Additional Settings
You can configure NuCache to work in memory only without reading/writing to the NuCache database files. Startup duration may increase for larger sites during a "warm boot" but smaller sites should see minimal impact. The settings have not yet been exposed via the new configuration setup, instead you must configure with a composer.
Last updated