Sep 2, 2018 · 1 min read
loved your article brother, it’s what I have been looking for a long time now, about how to make my application more managable through modularization, it was both informative and crisp.
I have a question though, which I think you can answer —
Q. If we add a js file through script tag, then why a separate http request is fired by browser to fetch that js file from same server, why can’t that files be sent at the time of when html file is sended in response, so that it will be availble in the browser and loading time will decrease (here i am assuming that, the js file is a part of project and not a third party plugin)