You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to figure out why my documentation site, rendered by Quarto, was taking up around 60MB when rendered to HTML. I found that every .html file (all 273 of them) has the same JavaScript inlined at the bottom of them, adding up to around 20K for each file, or roughly 10% of the total rendered site size.
It would be nice if this could be refactored and either included in one of the other JS files we already load, or even if it were in its own file, we would only have to have one copy of it in the project, and it would be cacheable.
The text was updated successfully, but these errors were encountered:
I was trying to figure out why my documentation site, rendered by Quarto, was taking up around 60MB when rendered to HTML. I found that every .html file (all 273 of them) has the same JavaScript inlined at the bottom of them, adding up to around 20K for each file, or roughly 10% of the total rendered site size.
It seems to be coming from here: https://github.com/quarto-dev/quarto-cli/blob/1dc41fab2e7839c36f55aa0ba21d93c9c9a43ffa/src/resources/formats/html/templates/quarto-html.ejs
It would be nice if this could be refactored and either included in one of the other JS files we already load, or even if it were in its own file, we would only have to have one copy of it in the project, and it would be cacheable.
The text was updated successfully, but these errors were encountered: