+

Search Tips   |   Advanced Search

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:port/wps/connect?MOD=Cacher&SRV=cacheSite&sitearea=site&library=library

Service Description Required Parameters Optional Parameters
SRV=cacheSite Initializes prerendering for the given site area with a delay as given (in seconds). If no library is specified, the default library is used, as specified by the defaultLibrary property in the WCM WCMConfigService service. sitearea=<site> DELAY=<delay>

LIBRARY=<library>

SRV=flushSiteCache Clears (flushes) the given site cache. Deletes all pre-rendered data. If no library is specified, the default library is used, as specified by the defaultLibrary property in the WCM WCMConfigService service. sitearea=<site> LIBRARY=<library>
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:port/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 delivery

Related:

Pre-rendering options

Related:

Set service configuration properties