Some groups of elements could be split into separate bundles, to be downloaded explicitely (at page level) or implicitely (when adding a "root" element into the page).
gallery could be part of it, but unsure
svg surely
mathml (as an example, it's not like we're going to add mathml support right now through mathquill)
calendar elements
feed elements
write elements !
video element ! hls.js pulls another 50kb (gzipped) script
sitemap, sitepage, etc...
anything about forms ?
Of course too much spliting like this will slow down scripts downloads, so it should be limited as much as possible.
Some groups of elements could be split into separate bundles, to be downloaded explicitely (at page level) or implicitely (when adding a "root" element into the page).
Of course too much spliting like this will slow down scripts downloads, so it should be limited as much as possible.