Best Practice for Ajax Data to Template

What is the best Practice for loading Page Date via Async AJAX and using F7 page-loader-component ?

Hey @Momo

Here have a example

Kitchen-sink - Dialog

thats not really what i meant.

I will try to rewrite my Question.

We have a server with endpoints etc, the question is what is the best practice for requesting the data on page load (maybe earlier? on link click?) and display it on that page? using the page-loader-component and using also the template engine for recieved data.