Mustache.js vs Mustache.net. What is faster?

randomstu

New Member
I'm developing web-site with ASP.NET 4.0. Some pages need to get data from the server via AJAX requests (for instance, a list of items, sorted or/and filtered by a parameter). And there I can see two options for templating:1) AJAX handler get data from database and templates it with Mustache. Returns html code ready to display to the end user.2) AJAX handler get data from database and sends it as JSON. Javascript code formats data with Mustache on the client-side.My question is what will perform faster?
 
Back
Top