# Combining static JS/CSS assets

**URL:** <https://meta.discourse.org/t/combining-static-js-css-assets/178390>\
**Category:** Product Support\
**Created:** [February 4, 2021, 10:50am UTC](https://meta.discourse.org/t/combining-static-js-css-assets/178390 "2021-02-04T10:50:43Z")\
**Posts on this page:** 2\
**Page:** 1

## AI-generated summary

[OlehKuryshko](/t/-/178390/1) notes that Discourse plugins significantly increase the number of network requests, citing approximately 30 JS and 20 CSS files on the homepage. They inquire if there is a configuration option, such as via `app.yml`, to combine these static assets to reduce the request count. [Falco](/t/-/178390/2) responds that no such option exists, explaining that HTTP/2 makes asset combination unnecessary.

<div class="post-metadata">

**Author:** ![OlehKuryshko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/olehkuryshko/32/203445_2.png) [@OlehKuryshko](https://meta.discourse.org/u/OlehKuryshko)\
**Post date:** [February 4, 2021, 10:50am UTC](https://meta.discourse.org/t/combining-static-js-css-assets/178390/1 "2021-02-04T10:50:44Z")

</div>

Currently every Discourse plugin seems to add at least one request for JS/CSS, which adds up to a lot of requests per page. For example, the homepage has about: - 30 JS files (script src=“…”) - 20 CSS files (link rel=“stylesheet”) Is there a Discourse option (perhaps via app.yml) to combine these assets in order to reduce the number of required network requests?

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [February 4, 2021, 1:08pm UTC](https://meta.discourse.org/t/combining-static-js-css-assets/178390/2 "2021-02-04T13:08:54Z")

</div>

No, there is no such options as HTTP/2 makes it unnecessary.
