GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Get MediaWiki
  • Get extensions
  • Tech blog
  • Contribute
  • User help
  • FAQ
  • Technical manual
  • Support desk
  • Communication
  • Developer portal
  • Code statistics
  • Community portal
  • Recent changes

This view

  • Original page
  • New address

GeezerVison is showing www.mediawiki.org — ResourceLoader - MediaWiki

ResourceLoader is the delivery system in MediaWiki for JavaScript, CSS, interface icons, and localisation text. It was first deployed to Wikipedia in 2011 and released later that year as part of MediaWiki 1.17 .

It is responsible for MediaWiki's low-cost high-performant front end, built on three principles that enable quick deployment of new code seen by Web clients on all pages in less than 5 minutes.

Use the navigation box on the right to navigate the reference and tutorials on ResourceLoader.

About ResourceLoader

ResourceLoader architecture through an example MediaWiki page load.

ResourceLoader was created in 2010 by Roan Kattouw, Trevor Parscal, and Timo Tijhof.

ResourceLoader loads script and style resources on-demand and only for browsers that are capable of running them. Some highlighted features:

  • Minifying and concatenating
This reduces the size of the code, saving bandwidth cost and download time.
JavaScript files, CSS files, and interface messages are loaded in a single request.
  • Batch loading and local cache defragmentation
This reduces the number of requests made.
The server can provide multiple module bundles in response to a single request from the browser. These are unpacked in the browser and can be re-used from the cache on subsequent page views, even if they need a different set of modules.
  • Bundle static files with generated data and virtual files
This allows granular configuration without overhead of additional API requests.
A module can contain static files but also generated data from PHP, and virtual files that represent source code from an external source (e.g., a wiki page).

Code stewardship

  • Maintained by MediaWiki Platform Team.
  • Live chat (IRC): #mediawiki-core connect
  • Issue tracker: Phabricator MediaWiki-ResourceLoader (Report an issue)
Retrieved from "https://www.mediawiki.org/w/index.php?title=ResourceLoader&oldid=7933477"
Categories:
  • ResourceLoader
  • Frontend
  • JavaScript
  • WMF Projects
Hidden categories:
  • WMF Projects 2010q3
  • WMF Projects 2010q4
  • WMF Projects 2011q1
  • WMF Projects 2011q2
  • WMF Projects 2011q3
  • WMF Projects 2011q4
  • WMF Projects 2012q1
  • WMF Projects 2012q2
  • WMF Projects 2012q3
  • WMF Projects 2012q4
  • WMF Projects 2013q1
  • WMF Projects 2013q2
  • WMF Projects 2013q3
  • WMF Projects 2013q4
  • WMF Projects 2014q1
  • WMF Projects 2014q2
  • WMF Projects 2014q3
  • WMF Projects 2014q4
  • WMF Projects 2015q1
  • WMF Projects 2015q2
  • WMF Projects 2015q3
  • WMF Projects 2015q4
  • WMF Projects 2016q1
  • WMF Projects 2016q2
  • WMF Projects 2016q3
  • WMF Projects 2016q4
  • WMF Projects 2017q1
  • WMF Projects 2017q2
  • WMF Projects 2017q3
  • WMF Projects 2017q4
  • WMF Projects 2018q1
  • WMF Projects 2018q2
  • WMF Projects 2018q3
  • WMF Projects 2018q4
  • WMF Projects 2019q1
  • WMF Projects 2019q2
  • WMF Projects 2019q3
  • WMF Projects 2019q4
  • WMF Projects 2020q1
  • WMF Projects 2020q2
  • WMF Projects 2020q3
  • WMF Projects 2020q4
  • WMF Projects 2021q1
  • WMF Projects 2021q2
  • WMF Projects 2021q3
  • WMF Projects 2021q4
  • WMF Projects 2022q1
  • WMF Projects 2022q2
  • WMF Projects 2022q3
  • WMF Projects 2022q4
  • WMF Projects 2023q1
  • WMF Projects 2023q2
  • WMF Projects 2023q3
  • WMF Projects 2023q4
  • WMF Projects 2024q1
  • WMF Projects 2024q2
  • WMF Projects 2024q3
  • WMF Projects 2024q4
  • WMF Projects 2025q1
  • WMF Projects 2025q2
  • WMF Projects 2025q3
  • WMF Projects 2025q4
  • WMF Projects 2026q1
  • WMF Projects 2026q2
  • WMF Projects 2026q3
  • WMF Projects 2026q4
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.