Hello Everybody, My local MediaWiki takes 3-5 minutes to apply changes of extensions's JS file. So How I can rid of this caching?
Thanks in Advance
Hi,
Sounds like you’re experiencing the Startup module being cached, which is the script that registers JavaScript modules and version numbers. [1]
Do you have a cache proxy between MediaWiki web server and your browser? Such as Squid, Varnish, or the FileCache in MediaWiki?
If so, see https://m.mediawiki.org/wiki/Manual:Configuration_settings#ResourceLoader.
In particular, lower the value of $wgResourceLoaderMaxage['unversioned']['server'], which controls how long such proxy would use a cached copy for the startup script.
If not, then it is likely the browser's own cache. Are you clearing or disabling the browser cache?
—Timo
[1] https://m.mediawiki.org/wiki/ResourceLoader/Features#Startup_Module
On Sat, 8 Sep 2018 at 17:29, Jay prakash 0freerunning@gmail.com wrote:
Hello Everybody, My local MediaWiki takes 3-5 minutes to apply changes of extensions's JS file. So How I can rid of this caching?
Thanks in Advance _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Do you have a cache proxy between MediaWiki web server and your browser? No.
It is likely the browser's own cache Yeah, Now I moved to Firefox Quantum from Google Chrome. Now my problem has solved.
Thanks, Timo Sir.
On Sat, Sep 8, 2018 at 10:13 PM Krinkle krinklemail@gmail.com wrote:
Hi,
Sounds like you’re experiencing the Startup module being cached, which is the script that registers JavaScript modules and version numbers. [1]
Do you have a cache proxy between MediaWiki web server and your browser? Such as Squid, Varnish, or the FileCache in MediaWiki?
If so, see https://m.mediawiki.org/wiki/Manual:Configuration_settings#ResourceLoader.
In particular, lower the value of $wgResourceLoaderMaxage['unversioned']['server'], which controls how long such proxy would use a cached copy for the startup script.
If not, then it is likely the browser's own cache. Are you clearing or disabling the browser cache?
—Timo
[1] https://m.mediawiki.org/wiki/ResourceLoader/Features#Startup_Module
On Sat, 8 Sep 2018 at 17:29, Jay prakash 0freerunning@gmail.com wrote:
Hello Everybody, My local MediaWiki takes 3-5 minutes to apply changes of extensions's JS file. So How I can rid of this caching?
Thanks in Advance _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org