Location: London, UK
Remote: Yes
Willing to relocate: No
Technologies: Python, Rust, Postgres, FastAPI, Axum, k8s/helm, Terraform, AWS, GCP, vim :p
Résumé/CV: https://narigama.dev/cv.pdf
Email: david@narigama.dev
Hey! I'm Dave. I've got over 10 years of experience across a variety of industries (streaming, payments, XR, blockchain). I provide software development services and project guidance, with an emphasis on pragmatism and best practices. I specialise in helping remote teams and startups achieve their goals at all stages, from ideas, through to production.
Location: London, UK
Remote: Yes
Willing to relocate: No
Technologies: Python, Rust, Postgres, FastAPI, Axum, k8s/helm, Terraform, AWS, GCP, vim :p
Résumé/CV: https://narigama.dev/cv.pdf
Email: david@narigama.dev
Hey! I'm Dave. I've got over 10 years of experience across a variety of industries (streaming, payments, XR, blockchain). I provide software development services and project guidance, with an emphasis on pragmatism and best practices. I specialise in helping remote teams and startups achieve their goals at all stages, from ideas, through to production.
Are all the same page as far as the browser concerns, and if you move from `/#!/` to `/#!/users/`, and reload the page, you still load the same page (i.e. `/`).
But that was too ugly for URLs, so modern websites now use browser history APIs just so they can remove 3 characters from the URL and do stuff like:
Sure, if you load `/` and move to `/about/` you don't load a new page because of browser history APIs; but if you then refresh, now you load a different, uncached page (`/about/`, instead of `/`) even if the HTML in the response is exactly the same as in `/`.
Sure, the difference is not much, but to me it still seems like a waste when the response could have been cached already like in the first example.
The other poster is wrong, the entire reason the history API exists is specifically because when these SPA frameworks first came onto the scene one of the things that was broken was history.
So they invented the history API's so SPA's could stop breaking some of the user expectations they were breaking.
The real reason for moving (back) from fragment URLs to real URLs is because the latter can serve different content on the initial load - specifically, they can act as actual webpages that use javascipt for progressive enhancement but work immediately whereas your / needs to display a spinner while you send of additional network requests to retrieve the content and build the page.