Tabs restored at startup (app tabs, session restore) should be refreshed from server, not in a "stale" state from cache
Categories
(Firefox :: Session Restore, enhancement, P3)
Tracking
()
People
(Reporter: rick3162, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [please read comment 57 before commenting])
Attachments
(2 files)
(deleted),
patch
|
dietrich
:
feedback-
|
Details | Diff | Splinter Review |
(deleted),
image/png
|
Details |
Comment 10•13 years ago
|
||
Comment 11•13 years ago
|
||
Comment 12•13 years ago
|
||
Comment 13•13 years ago
|
||
Reporter | ||
Comment 14•13 years ago
|
||
Comment 15•13 years ago
|
||
Comment 16•13 years ago
|
||
Comment 19•13 years ago
|
||
Comment 20•13 years ago
|
||
Comment 21•13 years ago
|
||
Comment 22•13 years ago
|
||
Reporter | ||
Comment 23•13 years ago
|
||
Comment 24•13 years ago
|
||
Comment 25•13 years ago
|
||
Comment 26•13 years ago
|
||
Comment 27•13 years ago
|
||
Comment 28•13 years ago
|
||
Reporter | ||
Comment 29•12 years ago
|
||
Reporter | ||
Comment 30•12 years ago
|
||
Comment 31•12 years ago
|
||
Comment 33•10 years ago
|
||
Comment 34•10 years ago
|
||
Comment 35•10 years ago
|
||
Comment 36•10 years ago
|
||
Comment 37•10 years ago
|
||
Comment 38•10 years ago
|
||
Comment 39•10 years ago
|
||
Comment 40•10 years ago
|
||
Comment 41•10 years ago
|
||
Comment 42•10 years ago
|
||
Comment 43•10 years ago
|
||
Reporter | ||
Comment 44•9 years ago
|
||
Comment 45•8 years ago
|
||
Comment 46•8 years ago
|
||
Reporter | ||
Comment 47•8 years ago
|
||
Reporter | ||
Comment 48•8 years ago
|
||
Comment 49•8 years ago
|
||
Comment 50•8 years ago
|
||
Comment 51•8 years ago
|
||
Comment 52•8 years ago
|
||
Comment 53•8 years ago
|
||
Reporter | ||
Comment 54•8 years ago
|
||
Reporter | ||
Comment 55•8 years ago
|
||
Reporter | ||
Comment 56•8 years ago
|
||
Comment 57•8 years ago
|
||
Comment 58•8 years ago
|
||
Updated•8 years ago
|
Comment hidden (me-too) |
Comment hidden (off-topic) |
Comment 62•8 years ago
|
||
Comment 63•8 years ago
|
||
Comment 64•8 years ago
|
||
Comment 65•8 years ago
|
||
Comment 66•8 years ago
|
||
Comment 67•8 years ago
|
||
Comment 68•8 years ago
|
||
Comment 69•8 years ago
|
||
Comment 70•8 years ago
|
||
Comment 71•8 years ago
|
||
Comment 72•8 years ago
|
||
Comment 73•8 years ago
|
||
Comment 74•7 years ago
|
||
Comment 75•7 years ago
|
||
Updated•7 years ago
|
Comment 77•7 years ago
|
||
Comment 78•7 years ago
|
||
Comment 79•6 years ago
|
||
(In reply to Graham Perrin from comment #78)
https://screenshots.firefox.com/cM1z7gBwCl5SCOaI/framasphere.org …
For posterity, here's the screenshot that's to be removed from the screenshots service.
Comment 80•6 years ago
|
||
(In reply to Graham Perrin from comment #75)
… The staleness with GitHub can be particularly troublesome; …
For what it's worth, I have a vague sense that GitHub has been improved in ways that lessen the impact of this bug 706970. The same may be true of Bugzilla @ Mozilla.
TBH I'm uncertain. It's possible that I have learnt to unconsciously key Control-R before viewing pages at affected sites.
Comment 81•4 years ago
|
||
Here is another victim of this "feature", a user of the well known extension uBlock reported:
"Ublock doesn't seem to do anything at all on the page visited when opening the browser with the (Firefox) setting 'Show your windows and tabs from last time'. In particular, ads that are otherwise blocked are displayed." (https://github.com/gorhill/uBlock/issues/3625)
uBlock developers have an "experimental" flag that is enabled on Firefox as a workaround for this bug feature.
But unfortunately web developers can't do much about this. Unless you want them all to transform their sites so instead of serving their content directly they would serve a script instead, that then loads the content via AJAX.
I seriously can't believe it is 2020 and we still have to manually reload restored pages when we open Firefox.
Hopefully one day, someone will realize that lazy loading tabs at startup is good enough and you don't have to lazy load them from disk. We use Firefox to browse the Internet, not our HDDs.
Updated•2 years ago
|
Comment 84•1 year ago
|
||
I'm quite appalled by this fury.
Like, I can even stretch myself into understanding everybody has a different use case (and I guess you could reason the ifs and buts then).. but what's this disingenuous pretending that manual saving makes for an actual alternative to session restore?
Nothing of this mattered for the ublock bug btw, which was eventually solved by pausing network activity until the extension is completely loaded (something that chrome doesn't allow, and *that* is the reason why they have to resort to full page refreshing as a workaround)
Want one obvious indisputable scenario where the current behaviour makes all the sense of the world? Sometimes people come back to a given tab after weeks or months. You want the thing to look like when you left (even more if perhaps it went bust in the meantime), not today.
Which is always just one button away.
Of course if we are just aiming to follow a live thread or something after a simple system reboot, that would be subpar.. but surely it can't be that bad? It doesn't exactly seem like the kind of situation that could scale "exponentially" to become a real bother for a user.
Also, the "symptoms" aren't that much different from when you suspend your pc, only to find the connection "sawed" on resume.
Comment 85•1 year ago
|
||
Maybe it is just me but I tend to use Firefox when I am connected to the internet. And thus I want the browser to actually use the connection to fetch the page from the server.
If I wanted the browser to open a snapshot of a page I would either use offline mode or just save the page to the disk myself.
Just because I want my tabs restored doesn't mean I want to work offline mode. If I have a tab with my favourite news site and restore the session why do you assume I want to see the old page, yesterday news? Or last week news? I don't.
Same goes for an online forum or whatever.
If you do want to save that page for later well I think there is a tool for that already: saving the page.
It is just one click away. Yes, one click away for every tab, for every session you restore through your entire life.
And if this wasn't a "real bother for a user" I wouldn't be complaining. I've been subscribed to this thread for years.
But inconvenience apart, one issue with this behaviour in my opinion is that it isn't obvious what's going on. If you ask users "is this page live or is this from yesterday night when you closed the browser?" I don't think most users would get it right, cause again when you browse the internet with a browser you usually get live pages, not old snapshots.
There is no indication that the page you are seeing is a snapshot loaded from your hard disk, and that you have to hit refresh to actually go to the page and not your local cache. You also can't see anywhere the date of this snapshot of course.
Anorher problem with this is that it cannot be controlled by the server using the expires headers. Content is cached regardless of expires headers.
Comment 86•1 year ago
|
||
There's generally never any indication whatsoever in a page about whether it's live or stale (certainly not in any forum software that I can think of), I don't know why you seem to make this concern specific to caching.
And I seem to remotely remember that at least twitter pages can automatically refresh after some conspicuous amount of hours from their opening (including possibly if they have been lazy loaded?) but don't quote me on that hellish website.
If I have a tab with my favourite news site and restore the session why do you assume I want to see the old page, yesterday news? Or last week news? I don't.
Because that's literally the website that you left? You would ALSO have the refresh the page if you had never closed the browser to begin with.
(btw I just checked the NYT, LA times, WSJ and WaPo.. only the latter seemed to have some kind of self-refresh, and guess what? it also worked after restore)
Same goes for an online forum or whatever.
I swear I cannot understand what you are talking about.
You seem to want to "open anew" everything that is loaded, but session restore is about resuming from the state that existed.
I'm also not sure how this would truly solve your qualms anyway. Even if this happened, pages would just move from being stuck at "past-opening time" to "new-start time". If you really have FOMO about new posts/news, you'd still have to F5 any time you come back to a tab after a few minutes.
Comment 87•1 year ago
|
||
Seems like for you "Open previous windows and tabs" means restoring the pages as they were when you closed the browser, regardless of expires headers and content type. In other words a snapshot of the contents of the page.
For me it means having the same tabs/windows I had before, but actually loading them. Where a tab is just a URL, and the content is fetched from that URL. That's how I understood the feature years ago and that's what I wish Firefox did. Just a way to avoid opening the same pages every single time I open Firefox.
Keep in mind that your "snapshots" might not be snapshots depending on the page. As you just noted some pages load content via AJAX.
So for your news site you might see recent news, same as if you just pressed F5.
For other pages, like YouTube home for example, you will see thumbnails of videos that might have been deleted, and upload dates that are wrong (uploaded X days/hours/minutes ago).
Luckily users can easily tell if a page uses AJAX or not and thus won't be tricked by this behavior.
In any case, it is been 12 years since this was reported. I would be happy to accept this behavior as default if at least I could have some random property in about:config where I could disable it.
Comment 88•1 year ago
|
||
means restoring the pages as they were when you closed the browser, regardless of expires headers and content type. In other words a snapshot of the contents of the page.
It is not the same thing and nobody in here ever shrugged the problems with expirations (bug 530594 is exactly tracking that in fact)
Luckily users can easily tell if a page uses AJAX or not and thus won't be tricked by this behavior.
What?
As you just noted some pages load content via AJAX. So for your news site you might see recent news, same as if you just pressed F5.
For other pages, like YouTube home for example, you will see thumbnails of videos that might have been deleted, and upload dates that are wrong (uploaded X days/hours/minutes ago).
I didn't make any "technological" claim, and if your websites don't have self-refresh capabilities, then again I'm completely missing why this would be a liability for session restore here.
You'd have a hundred times better if you used a script/addon to refresh the pages every short while (because again, if the use case is "I want to be the most up-to-date" that would still eventually break the other 99% of the day that you aren't restarting the browser).
Comment 89•1 year ago
|
||
bug 635453 describes this same problem
bug 1395510 is an example of what happens when you load a snapshot instead of the actual page, in this particular case when browsing github
bug 1440408 same as previous one but here on bugzilla
hopefully those will help support the idea that this is not just a crazy guy that needs pages auto-refreshed every few milliseconds
Comment 90•1 year ago
|
||
Bug 635453 seems again a lost user. If you care about the news and you hate F5 then the actual overall solution is adding self-refreshing to pages.
If instead you just want "the new thing" once at start time, then you can set it as one of the starting pages.
Why don't you address this workflow, rather than making up these offensive strawmen?
Bug 1395510 is a problem (if it even actually is, once you look at the code) with the restore feature. Nothing to do with the "snapshot" obsession.
You get the same effect from the recently closed tabs window (which *absolutely* isn't supposed to load anything anew)
1440408 looks the same, yes.. And? For all you know it's a problem with the way the website auto-saves comments and there's nothing that the browser could reasonably do (not saying it must be the case, but I'm bewildered by these detours when I raised other pretty specific doubts)
Comment 91•1 year ago
|
||
If I go to a GitHub issue and:
- add a label
- add a comment
- add an emoji reaction
Then close the browser and open it back:
- the label is gone
- the comment is gone
- the reaction is gone
If I do the exact same on Chrome:
- the label is there
- the comment is there
- the reaction is there
it's a problem with the way the website auto-saves comments and there's nothing that the browser could reasonably do
Wrong. It is a problem caused by Firefox. That's why it happens in many different pages and that's why it doesn't happen in Chrome in those same pages.
Comment 92•1 year ago
|
||
Until you pin down the issue, you can't really put blame on anything.
Regardless, that's not the point. Nobody is saying that shouldn't be fixed (or at least investigated).
On top of that, this has nothing to do with the issue at matter of "restoring" actually having to include a refresh step or not.
Description
•