I have a relatively simple meteor.js app. It loads crazy slow (>1min) and downloads 7.4M of resources.
At first I thought this is due to slow subscriptions but the network log shows that it is actually caused by the resource downloads (>800 requests).
I also realized that most entries show up twice in the network log. Is this normal behavior?
I had a similar concern when I was developing my first meteor app. However, when I created a bundle and deployed the app (which is the way you are supposed to do it in production) all the resources are minified, compressed, and compiled into a couple of resources.
The diffefence between a properly deployed production bundle and running your app in dev via the meteor
command is night and day.
Check this answer on how to bundle and deploy meteor properly. It's in the second half of the top answer:
How to deploy a meteor application to my own server?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With