posting here since it's maybe more relevant, I was asking a question on #clojurescript https://clojurians.slack.com/archives/C03S1L9DN/p1583926342011900
so how do people in general deal with the fact that during local dev if you have lots of js libraries it loads the browser needs to load a gazillion files?
shadow-cljs apparently still merges them all into one by default, can I get the same behaviour somehow or at least make sure they are all cached somehow?
Is it a big problem? Even if they're merged, the amount of data is the same. Is the HTTP overhead considerable for local dev?
well I see 2400 different requersts for small JS files in one project
which takes forever every time I load the page
I have to investigate why so much
is not a big project, but anyway at least they should all be cached and just return a 304
in prod is just 25 requests just because of the various. analytics, and it takes infinitively less time to load
I do not have that problem in my half-big project...
do you use the figwheel ring server or your own?
Just figwheel's. Is that why I don't have the problem, you think?
maybe
I'll try
mm no it still does lots of requests, but looks like 428 instead of 2400
so it is still better with the figwheel ring server for some reason
Maybe that's what I have. Will check the project tomorrow and see.
yeah well it's still 428 requests that should return 304 instead of 200 tbf
So it is loading the page that is the problem, not hot reload?
b/c I get 388 requests when I load the page. I use server side rendering so it never feels very slow.