# Large Javascript file under assets folder

**URL:** <https://meta.discourse.org/t/large-javascript-file-under-assets-folder/204571>\
**Category:** Self-hosting\
**Created:** [September 27, 2021, 4:26pm UTC](https://meta.discourse.org/t/large-javascript-file-under-assets-folder/204571 "2021-09-27T16:26:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![TechGeek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techgeek/32/274321_2.png) [@TechGeek](https://meta.discourse.org/u/TechGeek)\
**Post date:** [September 27, 2021, 4:26pm UTC](https://meta.discourse.org/t/large-javascript-file-under-assets-folder/204571/1 "2021-09-27T16:26:14Z")

</div>

One of the file /assets/application-7c87db9088046beb643be94b61428105469e084e8d02f141c57adfaf14168c63.js is almost 3.1 MB in size and causing lots of warning in error.log for Nginx reverse proxy.

`an upstream response is buffered to a temporary file /var/lib/nginx/proxy/2/77/0012036772 while reading upstream, client: XXXXXX`

- Does anybody know for what this much big javascript file is used for
- Is there a way to reduce size of this file. One way to reduce warning in Nginx will be to increase buffer size to 3.1 MB, but isn’t that little too much from default nginx configuration

---

_[View the full topic](https://meta.discourse.org/t/large-javascript-file-under-assets-folder/204571)._
