clearCache method
void
clearCache()
Clears the internal template cache.
Useful during development when templates are frequently modified. In production, caching should generally remain enabled for performance.
Example:
// In development mode
engine.clearCache();
Implementation
void clearCache() {
_cache.clear();
}