design patterns - How many API calls does a typical web app make on load? -


i'm working on relatively simple web app uses own api pull data on page load. nothing fancy. i've run few cases it'd simpler run 2 requests while loading page's content, i'm having trouble finding information how common multiple api calls are, , best practices around them.

how many api calls typical web app make own apis when doing simple page load? what's best approach once restful api in place?

how many api calls web application has depends on how complex web application be.

what suggest define performance goal of web application, average loading time of web page, or 90 percentile response time, etc.

once have goals defined, can check if web application developed satisfy goals. if not, there multiple ways tune application.

e.g. combine multiple calls 1 restful call 1 way. try minimize page content enabling server sider http compression, js/css compression, etc. helpful.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -