Cache.clearSubsiteCache (Method)
Clears the cache for all pages within the subsite and, if the 'includeChildren' argument is set to true, its child subsites.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
subsiteIDOrURL | SubsiteIDorURL_EmptyString | Required | The ID of the target subsite, or the server relative path to the target subsite, an empty string for the current subsite. |
includeChildren | Boolean | Required | Boolean flag which when set to true indicates that CommonSpot also clears the cache for descendant subsites. |
Context:
License Requirements | None |
Permission Requirements | Contributor |
Deny Context | None |
Require Context | None |
Author Lock | (not required) |
Transaction Logging | If transaction logging is enabled at the site level, calls to this method will be logged |
Customization | This method may be customized at the site level |
Error Codes:
None
Notes:
None