When configuring user-defined template pages on devices with sufficient memory (e.g., Public Spot gateways), you have the option to cache templates on the device. Caching improves the performance of the Public Spot module, particularly in large-scale scenarios where the device internally caches templates and the HTML pages that were generated from them.
Caching is possible for:
- Templates stored in the local file system
- Templates stored on external HTTP(S) servers with static URLs
Templates on external servers that are referenced with template variables are not cached on the system.
Enable template caching
In LANconfig under Cache page.
, caching for a page template is enabled by settingThe corresponding parameter can be found under
.Delete template cache
The device automatically deletes or updates the templates stored in the cache once you load a new template file in the file system of your device (for local storage) or when the cache period for an HTTP(S) template runs out (for storage on an external server). The device evaluates the Cache control header of an HTTP(S) template in order to determine the maximum cache period.
However, you do have the option of manually deleting the template cache with an action. In the status menu under Public Spot you can do this by starting the action Flush template cache.