wiki.techinc.nl/tests/phpunit/includes/resourceloader
Timo Tijhof 45bec76755 resourceloader: Don't cache stale responses in mw.loader.store
Follows-up 6fa1e56. This is already fixed for http caches by
shortening the Cache-Control max-age in case of a version mismatch.

However the client still cached it blindly in mw.loader.store.
Resolve this by communicating to the client what version of the module
was exported. The client can then compare this version to the version
it originally requested and decide not to cache it.

Adopt the module key format (name@version) from mw.loader.store
in mw.loader.implement() as well.

Bug: T117587
Change-Id: I1a7c44d0222893afefac20bef507bdd1a1a87ecd
2016-10-10 19:48:25 +00:00
..
templates
DerivativeResourceLoaderContextTest.php resourceloader: Add test coverage for DerivativeResourceLoaderContext 2016-08-29 14:41:46 -07:00
MessageBlobStoreTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderClientHtmlTest.php resourceloader: Don't cache stale responses in mw.loader.store 2016-10-10 19:48:25 +00:00
ResourceLoaderContextTest.php resourceloader: Create unit tests for ResourceLoaderContext 2016-08-29 16:47:15 -07:00
ResourceLoaderFileModuleTest.php Avoid "Column md_module cannot be null" error in unit tests 2016-09-11 17:07:52 -07:00
ResourceLoaderImageModuleTest.php resourceloader: Create unit tests for ResourceLoaderContext 2016-08-29 16:47:15 -07:00
ResourceLoaderImageTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderModuleTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderStartUpModuleTest.php resourceloader: Don't cache stale responses in mw.loader.store 2016-10-10 19:48:25 +00:00
ResourceLoaderTest.php resourceloader: Move 'site' and 'user' logic to makeModuleResponse 2016-09-15 18:32:07 -07:00
ResourceLoaderWikiModuleTest.php resourceloader: Fix WikiModule preload to support localised titles 2016-09-14 14:54:01 -07:00