Manual:$wgResourceLoaderStorageEnabled/fr
Appearance
ResourceLoader: $wgResourceLoaderStorageEnabled | |
---|---|
Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the Web Storage API. |
|
Introduit dans la version : | 1.23.0 (Gerrit change 86867; git #c7194016) |
Retiré dans la version : | Encore utilisé |
Valeurs autorisées : | (boolean) |
Valeur par défaut : | true (1.28+)false (1.23-1.27) |
Autres paramètres : Alphabétique | Par fonction |
Détails
If set to true, ResourceLoader modules are cached in localStorage
in modern browsers and loaded with eval()
.
This allows invalidating a module that has been updated without invalidating the other modules, even if they are all loaded as a single minified-concatenated file.
This will speed up page loading on wikis where the JS code changes frequently. It might cause weird behavior in browser developer toolbars (such as some source files not showing up) so you might want to disable it on local developer wikis used for debugging.