33

When I duplicate a tab, a new tab is created with the same URL and I have to wait for it to download again. Why wouldn't Firefox just duplicate all the data of the tab into a new tab?

you are viewing a single comment's thread
view the rest of the comments
[-] BananaTrifleViolin@lemmy.world 16 points 6 months ago* (last edited 6 months ago)

I don't know the answer for definite but my assumption is because of the nature of modern websites. Most websites are not static, but rather complex mixes of static and dynamic content including various scripts running on the page. It seems like that would be complicated to duplicate, particularly without breaking something. A script running could easily break and throw unexpected errors if it's not duplicated seamlessly in memory.

I guess also as a result if Firefox duplicated everything perfectly from active memory, the onus is on Firefox to fix it if something breaks on some random website. If Firefox reloads the page in the duplicated tab, then the onus is on the website if something doesn't work in duplication. It's a fundamentally simpler technique and more replicable every time.

However as I say I don't know for definite. I do find Firefox does a reasonably good job of duplicating tabs in the current set up; I've not been aware of significant issues with websites and for me at least it's the starting from the same sort of place and having the history available that is most useful.

[-] boredsquirrel@slrpnk.net 2 points 6 months ago

Sounds likely. Actually duplicating is probably pretty complex

this post was submitted on 22 Apr 2024
33 points (92.3% liked)

Firefox

4015 readers
1 users here now

A community for discussion about Mozilla Firefox.

founded 1 year ago
MODERATORS