@@ -226,6 +226,10 @@ func NewApp(config ...Config) *App {
if cfg.CreateTemplates {
slog.Debug("creating templates")
app.Templates = NewHTMLRender()
if cfg.EnvMode == EnvironmentProduction {
app.Templates.EnableCache = true
}
if cfg.CreateSession {
The note is not visible to the blocked user.