|
|
|
|
|
by dkopi
3751 days ago
|
|
That's how a basic angular.js app with client side templating works if it has to fetch the the data from the server using AJAX calls. A common optimization would be to preload the served javascript with the initial AJAX results. This still means rendering the content on the client side, but the content isn't fetched asynchronously.
Another optimization is to actually render all the DOM elements in advance on the server, and only use client side rendering for updates. |
|