Last modified: 2014-10-09 07:28:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73868, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71868 - bfcache is disabled
bfcache is disabled
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
MultimediaViewer (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-09 07:28 UTC by Tisza Gergő
Modified: 2014-10-09 07:28 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tisza Gergő 2014-10-09 07:28:50 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links