You can cache all templates or only templates with out-of-date time stamps. You can run the Template Cache Generator from Template Editor or from a standalone executable file.
- Do one of the following:
- Double-click TemplateCacheGenerator.exe in your NextGen installation folder.
- From the Tools menu in Template Editor, select .
The
NextGen Template Cache Generator window opens.
The Only out of date templates check box is selected by default. A template is out-of-date if the cache time stamp for the template .ngt_file and the cache time stamp in the template database table do not match.
- To cache all templates regardless of the cache time stamp, clear the check box.
- Select Cache Templates.
The window displays the name of each template being checked and cached. It shows a progress bar and how many of the total number of templates have been cached.
- To stop caching the remaining templates, select Cancel.
The TemplateCacheGenerator window opens.
- Do one of the following:
If a template discrepancy or error is detected, a message window appears.
- To continue, select OK.
For some errors, you can select Cancel to skip caching the template that contains the error.
When caching is completed, the TemplateCacheGenerator window displays the message.
- To dismiss the window, select OK.
- Select Close.
The templates are cached in the Template Server Cache path designated in Templates Preferences in the System Administrator application.