News for hackers. Stuff that matters.
Re:Are JS loaders snakeoil? by maratd on Thursday August 11, 2011 @02:36PM (#2874144)
I think I understand what you're trying to say. Each page should have predefined javascript collections in the HTML, varying based on the need of the page.

That's fine for a traditional layout, but most client-heavy applications do not load HTML every time a user clicks something. In my case, the application only loads the HTML once, on the initial visit, and from that point, it's all javascript. Re-working things to load HTML on every click would actually make things slower, since it has to fetch the HTML each time. This type of architecture makes a loader necessary.

There are no comments on this comment yet.