SiteSettings.saveCacheProperties (Method)

Saves the default cache properties for the site.

Returns:

Void

Arguments:

Name Type Required Description
defaultDynamicContentCacheKeepTime NonNegativeInteger Required The default time to keep cache fro dynamic content.
defaultDynamicContentCacheKeepTimeUnit TimeUnit_DHMS Optional. Defaults to 'Minutes'. A string identifying a unit of time as being days, hours, minutes or seconds.
defaultStaleCacheMaxKeepTime NonNegativeInteger Required The default maximum time to keep stale cache.
defaultStaleCacheMaxKeepTimeUnit TimeUnit_DHMS Optional. Defaults to 'Minutes'. A string identifying a unit of time as being days, hours, minutes or seconds.

Context:

License Requirements None
Permission Requirements site:SiteAdmin
Deny Context None
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None