1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-26 18:21:01 +00:00
miniflux-v2/internal/template
jvoisin da8bf3890c refactor(templates): be explicit about dependencies
Instead of blindly compiling all the common/ templates for every view/ ones,
let's be explicit about the dependencies. This should significantly decrease
the resident memory consumption, as ParseTemplate is responsible for ~10M of
the current 11M of heap memory on my instance, so any win there is interesting.
This will also allow better factorization of templates, now that everything is
explicit. Another side-effect is that it'll make testing easier, as we now have
a comprehensive list of views/ templates affected by a change in a file in
common/
2025-08-20 18:51:51 -07:00
..
templates refactor(templates): be explicit about dependencies 2025-08-20 18:51:51 -07:00
engine.go refactor(templates): be explicit about dependencies 2025-08-20 18:51:51 -07:00
functions.go fix(version): change development version naming to avoid breaking some clients 2025-08-18 17:41:17 -07:00
functions_test.go refactor(template): remove unused functions and reduce the complexity of truncate function 2025-07-17 20:53:41 -07:00