Open
Description
Currently in _journal_table.html
, all postings of all transactions are included in the generated HTML, while users are unlikely to see all of them for majority of time, but generating them can take a significant amount of time.
For my Beancount file (which has ~4k entries), stripping the postings from the rendering makes the generated HTML file size from 7.34MB down to 2.79MB, and the time to generate it from ~670ms down to ~280ms.
It would be better that postings are excluded from the journal HTML, and only loaded, probably through a JSON API, when user expands a transaction. It seems that it was done that way before in #40, but possibly regressed in #128 when moving the template to Python.
Activity