Compile Application Templates at the Server-side
Canvas now helps in loading application templates faster by providing you an option to precompile templates at the server-side by setting the LOAD_COMPILED_TEMPLATE property to 'Y' in the componentpreferences.properties file.
Here's what's in it for you:
- This saves time at the client-side as the compiled JS content gets downloaded instead of the CTTPL templates and the data is bound with the compiled templates.
- You get to keep your templates in separate files without the performance penalty of separate HTTP requests for each one.
Setting this property to 'N' will compile the templates at the client-side by downloading templates from the server.
For more information on this feature, refer Configuration Descriptor: Components Preferences.