Pre-rendering a website

Pre-rendering can be configured to run automatically, or you can manually pre-render a website using a URL.

Administrator access: In order to pre-render a website, have administrator access to the library that contains 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/wcm/connect?MOD=Cacher&SRV=cacheSite&sitearea=sitearea_name&library=library_name

Table 1. CacherModule options

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.



You can also pre-render individual pages using the following URL:

http://host_name:port_number/wps/wcm/connect/library_name/site_area_name/content?MOD=Cacher


Pre-rendered delivery

Related

Configure pre-rendering


Previous

Set service configuration properties

December 14, 2011
   

 

Apr 1, 2011 1:26:17 PM

});


+

Search Tips   |   Advanced Search