I don’t like executing code on the client, i.e. in the user’s browser. I think it’s disrespectful, wasteful, and worst of all (for your business), results in lowered performance. I recently wrote about it on this very blog. But as many have pointed out, sometimes you need dynamic functionality on your site. Or maybe you need some logging / analytics. In any case, I absolutely agree that there are some very good reasons to change or react to every individual request (i.
We made everything too complicated. We do this, us developers. It’s fun to invent a new and better way to do things. And to use all the “new things”. But I think this is the time to stop and think about what we are doing. One of those things is treating every website like an app - although most sites are nothing of the sort. The web was designed for documents The World Wide Web (www) was designed to be a collection of documents that could be linked together.
Elasticsearch is awesome. I had it on my “things to learn” list for quite a while, and I finally got to it when an ecommerce site I’m working on needed some real user monitoring (RUM) to make sure performance stays superb. This is the story of how easy this was to set up with Elasticsearch and Kibana (ELK - or at least EK). Web vitals is a term for some new metrics surrounding site usability.