ServerTools.buildStaleCache (Method)
Rebuilds all stale cache that has been recently requested for all sites on this server. Note this should not be run from a Cache Server. Instead run SiteTools.buildStaleCache from a Cache Server for individual sites.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
maxThreads | PositiveInteger | Optional. Defaults to '1'. | The number of threads to use for rebuilding stale cache. |
delayFactor | Integer | Optional. Defaults to '0'. | Delay factor to apply between queue entries. -1=no delay, 0=HTTP request to test queue latency with no additional delay, positive values test queue latency and pause ({queue latency} * delayFactor). |
Context:
License Requirements | (none) |
Permission Requirements | ContributorOrServerCode |
Deny Context | (none) |
Require Context | (none) |
Author Lock |
Error Codes:
None
Notes:
None