Javascript Aggregation

I noticed that discourse sites serve a bunch of small javascripts separately. Is there a reason we’re not aggregating them into a single js file? It would speed up page load I believe.

Thank you!

1 Like

Discourse sites are all hosted on HTTP/2 the practice of bundling is a best practice on HTTP/1.1 and can in fact be a bad practice in many cases on HTTP/2

10 Likes