0

May i know does iron router async load templates from server only when required or download everything in bundle at first page load.

cometta
  • 35,071
  • 77
  • 215
  • 324

1 Answers1

0

Meteor compiles all of your template code into javascript which is then shipped to the client in a single file in production, or in multiple files in development mode. Those files are then downloaded and interpreted on the first page load (or whenever there is a hot code push). There is currently no notion of incremental loading, however it is on the roadmap.

David Weldon
  • 63,632
  • 11
  • 148
  • 146