It's a Reagent SPA app, each request will basically load the same artefacts and then does client side routing based on the given route.
I only compared loading the home route on Windows vs. loading the same route on Linux. Looking at the network tab in Chrome I see that artefacts load a lot slower than on Linux, but I have no explanation why. I wouldn't mind 1-2s difference but this... Btw. the initial load of my app with no optimization is 11.9MB. Thanks, Torsten. Am Sonntag, 12. Februar 2017 13:41:02 UTC+1 schrieb Thomas Heller: > Given that you are probably loading a large number of JS files the total load > time goes up the longer each request takes. > > Did you compare the request time for each request? Maybe something on Windows > makes the requests take longer? Hard to debug without more information but > the devtools should help in finding the slowdown. > > HTH, > /thomas > > On Sunday, February 12, 2017 at 12:19:48 PM UTC+1, Torsten Uhlmann wrote: > > Hi, > > > > I have a strange problem with my ClojureScript app. > > When in dev mode and compiled Javascript artefacts are not optimized the > > page loads very slow if the app runs on Windows. A page reload takes about > > 12 seconds versus about 3 seconds when the server runs on Linux (in both > > cases I loaded into the same Windows browser). > > > > I tried with ClojureScript 1.8.40 and the latest 1.9.473, they react the > > same. > > > > The problem disappears when removing the line > > `<script>goog.require("my.app");</script>` from the generated `app.js` > > file that gets loaded by the index.html page. > > This of course removes all the JS modules that need to be loaded, but it > > seems to indicate that the problem is related to resolving the modules to > > load and actually loading them. > > > > Did someone else ever ran across a problem like this? > > > > Thanks, > > Torsten. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at https://groups.google.com/group/clojurescript.