mercredi 19 novembre 2014

Best Practice: One or more json requests

Hello guys.

I was thinking about ajax requests with json data.

In an application with 5 different views.

What would be better for the app, load everything in just one request or loads a json file for each view?

It is known that the fewer requests the app do, better, but at the same time leave it all in one file can compromise both the init time and the maintenance of the app.


It is interesting to work with only one giant json data?






Best Practice: One or more json requests

Aucun commentaire:

Enregistrer un commentaire