SiteTools.buildCacheFiles (Method)
Starts a job that builds cache files for this site. It will build a cache for each browser named in the 'browserList' argument.
Returns:
JobID (integer)
Arguments:
Name | Type | Required | Description |
---|---|---|---|
browserList | BrowserTypesToCacheList | Required | A comma-delimited list of one or more of browser types for which CommonSpot builds cache files. |
pageIDList | PageIDList_EmptyString | Optional. Defaults to an empty string. | A comma-delimited list of page IDs for which CommonSpot will build cache files. If this argument is used, CommonSpot ignores the 'SubsiteIDList' argument. |
subsiteIDList | SubsiteIDList_EmptyString | Optional. Defaults to '1'. | A comma-delimited list of subsite IDs for which CommonSpot will build cache files. CommonSpot only uses this list if the 'pageIDList' argument is set to an empty string. If this argument is set to 1, CommonSpot begins rebuilding the cache at the root subsite. |
includeChildSubsites | Boolean | Optional. Defaults to '1'. | Boolean flag which when set to true tells CommonSpot to include child subsites. CommonSpot will only include child subsites if the 'subsiteIDList' is set to a value. |
forceRebuild | Boolean | Optional. Defaults to '0'. | Boolean flag which when set to true tells CommonSpot to rebuild cache files if they exist. |
Context:
License Requirements | None |
Permission Requirements | site:SiteMaintenance |
Deny Context | None |
Require Context | None |
Author Lock |
Error Codes:
Code | Error Message |
---|---|
67002 | Only one instance of this job can run at a time on this site. |
71001 | One or more subsites must be specified. |
Notes:
None