2 ms·
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. Tha
by maratd 15y ago
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.