Access the pre-rendered site
Pre-rendered sites are accessed either through IWWCM , or through a Web server.
Access the pre-rendered site through a WCM application
To enable users to access the pre-rendered site through a WCM application, update the WCMConfigService.properties file and make the following changes:
- Ensure that the following line is commented out:
connect.businesslogic.module.default.class= com.aptrix.pluto.renderer.RendererModule
- Ensure that the following line is not commented out:
connect.businesslogic.module.default.class= com.aptrix.cacher.CacherModule
Users can access the site through the following URL:
http://host_name:port/wps/wcm/connect/library_name/site_nameThe library_name parameter is optional. If the library is specified, the WCM application looks for the site in that library. If no library is specified, the default library is used, as specified by the defaultLibrary property in the WCMConfigService.properties file.
Connect tags Connect tags are not processed by the CacherModule and are rendered intact. When the pre-rendered page is accessed by a user, only then will the connect tags be processed. Pre-rendering JSP components The pre-rendering feature cannot be used to pre-render JSP components. Links to content not yet pre-rendered A component, such as a menu, that contains links to content not yet pre-rendered is retrieved by the CacherModule and added to the pre-rendered site. This only applies to content belonging to sites configured to be pre-rendered. Custom expiring Custom caching parameters cannot be used in connect tags and URL requests in pre-rendered sites. "EXPIRES=" and "CONNECTORCACHEEXPIRY=" can be used to override the server's default basic and data cache settings. Authoring portlet The authoring portlet can still be accessed when the default class is changed from RendererModule to CacherModule as long as it has not been added to the lists of sites to be pre-rendered. (See the Cacher Configuration section) CacherModule as default If using the URL interface when the CacherModule is the default, you do not need to specify ?mod=cacher. Instead, enter the request as follows: http://host_name:port/wps/wcm/connect?SRV=cacheSite&Site=site_name&library=library_name
Access the pre-rendered site through a WCM application and a Web server
You must configure the Web server to map to the following alias and WCM directories:
When using a Web server to view a pre-rendered site, the above directories require execute access.
Alias Directory wps/wcm/connect [ILWWCM_HOME]/ilwwcm/cacher Users access the site via the following URL:
http://host_name:port/wps/wcm/connect/library_name/site_nameThe library_name parameter is optional. If the library is specified, the WCM application looks for the site in that library. If no library is specified, the default library is used, as specified by the defaultLibrary property in the WCMConfigService.properties file.
- Connect tags cannot be used: Connect tags are not processed by the CacherModule and are rendered intact. When the page is viewed through a Web server, connect tags cannot be processed. Therefore, connect tags cannot be used in sites that are to be viewed through a Web server.
- Pre-rendering JSP components: The pre-rendering feature cannot be used to pre-render JSP components.
- Dynamic elements: When viewing a pre-rendered site through a Web server, any dynamic elements such as menus and navigators are displayed as rendered by the configured CacherModule user, not by the user accessing the site. This means personalization cannot be used.
Parent Topic
Pre-rendered sites