Path: server
The server is a unique object that represents the GWC rendering engine instance.
Fields | Type | Description |
server/version | Attribute (string) | Returns the version of the server. |
server/development | Attribute (boolean) | Indicate if the server is in development mode (not in production). Templates and snippets are reloaded automatically in development mode. |
server/production | Attribute (boolean) | Indicate if the server is in production mode (not in development). Templates and snippets are not reloaded automatically in production mode. |
Example
<title gwc:content="(application/ui ? application/ui/text : '') + ' - ' + server/version">Application name</title>
This displays the GWC engine version in the browser title bar.