skyjake / lagrange

A Beautiful Gemini Client
https://gmi.skyjake.fi/lagrange/
BSD 2-Clause "Simplified" License
1.19k stars 62 forks source link

Navigation history retaining multiple copies of the same URL #440

Open datenbrei opened 2 years ago

datenbrei commented 2 years ago

If you call a page again in Lagrange it generates a second entry in the browser history - which makes no sense.

skyjake commented 2 years ago

call a page again

Could you please elaborate what you mean by this, exactly?

datenbrei commented 2 years ago

If I surf to my plant at Astrobotany (my own Garden) I call this URL: gemini://astrobotany.mozz.us/app/plant . If I water it, apply fertilizer and after that I go back with the arrow left (browser back) I see a couple of old cached states of my very own page, so many, as I had changes on the same page.

From my point of view there should not be a store of old states of a page. If I call one URL ten times and I go back, the browser should go immediately to the page before all the ten calls of one and the same page, as does firefox.

skyjake commented 2 years ago

Thanks for the clarification. The way it works now is intentional. The navigation history is meant to allow one to return to a previously visited page, as it was seen at that earlier time.

I think doing it this way makes more sense in general, although I agree in Astrobotany's case it may lead to cumbersome backwards navigation.