3 ms·
> DYNAMIC LOADING > Cons: Although the jury is still out on this, we have concerns that this approach may not scale to very large sites. As an application becom
by atomical 15y ago
> DYNAMIC LOADING
> Cons: Although the jury is still out on this, we have concerns that this approach may not scale to very large sites. As an application becomes larger and more templates become required, its easy to see how the main page load may take more time and increases the amount of load on your servers.
By main page load don't you mean first page load? Ideally the browser will cache them as an asset package and that first page load will be a little slower. But how would that put more load on the servers?
- Osiris 15y agoThat's funny. I'm working on a project where we're specifically using Backbone in order to be able to scale. We're compiling all our Backbone templates and pushing them to Akamai so that user's around the world can get the JS templates from a local CDN and only need to get JSON data from our main server. It's far easier than trying to modify the app to be able to deploy across multiple datacenters.