Wikipedia have a policy to avoid files hosted outside its server.
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web#External_assets
So as to comply to that we need to replace all link of static files hosted outside Wikimedia servers with the proxy link.
Ex.
https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.7/css/select2.css
to
https://tools-static.wmflabs.org/cdnjs/ajax/libs/select2/4.0.7/css/select2.css
The earlier task was:
I have observed using the browser developer tools the we are using some js and css files hosted on wmflabs such as
https://tools-static.wmflabs.org/cdnjs/ajax/libs/select2/4.0.7/css/select2.css
, but it is taking approximately ten times more ping time for loading than its identical file hosted at cdnjs
https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.7/css/select2.css
. I thnk we should replace all such identical files, this will affect the loading time of web page significantly.