+

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_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


Parent: Pre-rendered delivery

Related:

Pre-rendering options

Related:

Set service configuration properties