lundi 19 janvier 2015

One webpage that uses lots of ram but one apache connection vs one small ram connection with several ajax calls. Which is better?

If this is the not the right place to ask this please direct me to the correct place.


My question is this. Which is better:


A. a page that uses a lot of resources and a lot of RAM, but only one Apache connection.


B. that same page, loaded from cache, with several ajax calls to populate the parts of it that need live data.


I'm thinking B. The only negative to B is that i'm adding 4-5 Apache connections per page load. But these connections are super small resource wise.


Thanks





Aucun commentaire:

Enregistrer un commentaire