Class PublishedSnapshotServiceOptions
Options class for configuring the
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.PublishedCache
Assembly: Umbraco.PublishedCache.NuCache.dll
Syntax
public class PublishedSnapshotServiceOptions
Properties
View SourceIgnoreLocalDb
If true this disables the persisted local cache files for content and media
Declaration
public bool IgnoreLocalDb { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
By default this is false which means umbraco will use locally persisted cache files for reading in all published content and media on application startup. The reason for this is to improve startup times because the alternative to populating the published content and media on application startup is to read these values from the database. In scenarios where sites are relatively small (below a few thousand nodes) reading the content/media from the database to populate the in memory cache isn't that slow and is only marginally slower than reading from the locally persisted cache files.