acouvreur / sablier

Start your containers on demand, shut them down automatically when there's no activity. Docker, Docker Swarm Mode and Kubernetes compatible.
https://acouvreur.github.io/sablier/
GNU Affero General Public License v3.0
1.16k stars 43 forks source link

Enhance Theme support #278

Closed acouvreur closed 1 month ago

acouvreur commented 2 months ago

The theme support is currently not optimized as the whole template is parsed on every request.

Themes should be loaded on startup into memory and that's it.

This will prevent a lot of potential security issues, but also prevent you from live editing themes.

Instead, a dedicated endpoint may be created for that purpose in a future release.