But now I'm wondering, why do we need webservers at all?
I look at the webapps at https://apps.sandstorm.io/ ,
and think about the ones that are missing (google web search, facebook social network, twitter microblogging, etc.), and all i seem to see is:
65% static content
15% logins and ACLs
5% indexing and search
4% notification / pubsub
1% actual serverside computation that can't be moved client-side
Nowadays, I think that the vast majority of corpi that people actually want to index+search is small enough to actually slurp down and do the index+search client side. You still need google to run a server-side search because downloading the entire web to your client in order search it isn't feasible . But it seems like 99% of the "web of services" could actually be totally decentralized (with all content distributed and all execution local to your client) if we just put the right UI on it.
People are finally realizing that the webservices shouldn't be doing logons. And public-key crypto has a (slightly thorny, but perfectly functional) answer to ACLs.
So what am I missing?