Load foreground tab from cache when restoring session

Bug #926358 reported by Cassidy James Blaede on 2012-02-03
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
Triaged
High
Unassigned

Bug Description

In an effort to make launching Midori seem even faster, it'd be great if we could cache everything about the current tab to disk when you close the window (if "restore session" is chosen for the opening behavior in preferences). Then when you reopen Midori, that page would come up just as if you were on it the whole time, but without having to wait for the page to load from the network. The non-visible tabs could still load from the network so that you're not caching a ton of things to disk.

Cody Garver (codygarver) on 2013-04-23
Changed in midori:
status: New → Confirmed
importance: Undecided → High

I just thought about an interesting implication of this bug. If you're browsing a frequently-updated/dynamic site, like Facebook, a blog, or a news site, this could be bad as you wouldn't see new information. However, this could be worked around by checking if the cached page has changed from the remote page (in the background). If the page has changed, you could display the updated page.

tags: added: tabby
summary: - Midori has to load pages when opening a previous session
+ Load foreground tab from cache when restoring session

As a note, I've seen other browsers implement this differently. Rather than caching the whole page, they actually just cache a screenshot of the page then load in the real one in the background and crossfade between them. I'm not sure if that's more desirable or better, but it's a thought.

Jacob Parker (jacobparker1992) wrote :

It's actually a bad idea to implement this. Pretty much all sites won't remember the previous context. But maybe remembering the position on the page and data in forms could be useful.

paibieng (akjdoiqjwodiasd) wrote :

Much more importat: save history so I can go back after a restart.

Christian Dywan (kalikiana) wrote :

This works nowadays with WebKit2, alas only for websites without TLS...

Changed in midori:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers