opensafely-core / reports

Website for viewing OpenSAFELY reports
https://reports.opensafely.org
0 stars 0 forks source link

Coping with reports that are too large for a naïve approach #43

Closed benbc closed 3 years ago

benbc commented 3 years ago

We've seen one report already (the vaccine effectiveness one) that has so many DOM nodes that rendering takes ages. (This is probably due to the inclusion of many SVGs.)

One idea for how to cope with this is to somehow split the report into sections. There may be better ideas.

benbc commented 3 years ago

Ideas from tech standup

benbc commented 3 years ago

Simon has used this before: https://github.com/jakearchibald/svgomg/blob/master/README.md