https://bugzilla.wikimedia.org/show_bug.cgi?id=71868

            Bug ID: 71868
           Summary: bfcache is disabled
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MultimediaViewer
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: gti...@wikimedia.org
                CC: aarcos.w...@gmail.com, fflo...@wikimedia.org,
                    gti...@wikimedia.org, mtrac...@member.fsf.org
       Web browser: ---
   Mobile Platform: ---

Most modern browsers (with the exception of IE and Chrome) include a
back/forward cache, meaning they "freeze" the current state of the page (DOM,
JS variables and all) into memory when navigating away, and pull it out from
there when using back-button navigation, to speed up navigation by skipping
page setup. This functionality can be disabled by various heuristics, if the
browser guesses that the page is doing something that would be broken by the
caching. Sometimes this disabling can be avoided with some care (e.g. using a
pagehide handler instead of an unload handler).

bfcache seems to be disabled on MediaViewer pages (possibly on all MediaWiki
pages, I haven't checked). This results in a significant slowdown; we should
look into ways of avoiding it if possible.

See this StackOverflow post for various bfcache docs:
http://stackoverflow.com/questions/1195440/ajax-back-button-and-dom-updates/1195934#1195934

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to