HACKER Q&A
📣 amichail

Why does changing URL reload entire page even when in the same web app?


Why doesn't the browser try to access that content in a more efficient manner via the web app UI?

Maybe AI could help in this regard?


  👤 verdverm Accepted Answer ✓
1. It's a very sane and preferable default, you cannot reliably know if a website uses client side routing. How would the browser know what function to call? Is the source minified or WASM?

2. Browsers are getting better, in that they will not redraw the parts that stay the same. Noticed this with my own static sites.

3. Is running an AI model or a bunch of JS more efficient than fetching static HTML?