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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.