William Koch
William Koch's Blog

William Koch's Blog

What if the web was backwards

William Koch's photo
William Koch
·Aug 17, 2020·

2 min read

The web works by serving documents to users. Normally those documents are html files with data embedded, and they are either built ahead of time (static sites) or built as needed (dynamic sites).

Now this has changed quite a bit, and a lot of new sites use javascript frameworks to build the html and embed the data in the user's browser, after being served and rendered.

We transferred a lot of the work to the user device, but what if we could go a little further? Why not just serve the data through an API to the user, and let the user's browser built it with html templates that came with the browser, using an embedded static site generator inside the browser.

Some of the benefits I see:

  • Only data transferred, faster browsing for everyone;
  • Users could choose their favorite templates for sites;
  • Better accessibility without extra work for developers;
  • Future proof, since there would be no compatibility problems for older sites;
  • No need for HTML, CSS or Javascript backwards compatibility, which makes browsers easier to build and the web languages could get rid of the bad parts;
  • Most sites should work normally, blogs, social networks, stores and so on.

BTW: I have no idea how WebAPPs would work.

 
Share this