Pre-rendering a website
Pre-rendering can be configured to run automatically, or we can manually pre-render a website using a URL.Administrator access: To pre-render a website, have administrator access to the library containing the site area.
Automatically pre-rendering a website
Pre-rendering can be run according to the cacher settings specified for the WCM WCMConfigService service as part of the pre-rendering configuration.
Manually pre-rendering a website
Pre-rendering can be also be initiated through the URL interface. For example:
http://host_name:port_number/wps/connect?MOD=Cacher&SRV=cacheSite&sitearea=sitearea_name&library=library_name
Service Required Parameters Optional Parameters SRV=cacheSite Initializes prerendering for the given site area with a delay as given (in seconds).
sitearea=<site area name> DELAY=<delay> LIBRARY=<library>
If no library is specified, the default library is used, as specified by the defaultLibrary property in the WCM WCMConfigService service.
SRV=flushSiteCache Clears (flushes) the given site cache. Deletes all pre-rendered data.
sitearea=<siteareaname> LIBRARY=<library>
If no library is specified, the default library is used, as specified by the defaultLibrary property in the WCM WCMConfigService service.
SRV=flushPageCache Flushes the page from the site cache. The site area and page are determined from the request URL.
No SRV specified The CacherModule attempts to retrieve the given page from the cache.
We can also pre-render individual pages using the following URL:
http://host_name:port_number/wps/connect/library_name/site_area_name/content?MOD=Cacher
- To pre-render individual content items the site area specified in the URL must either be a site area set in the WCM WCMConfigService service, or have previously manually pre-rendered the site area using "SRV=cacheSite".
Parent: Pre-rendered deliveryRelated:
Related: