Sumit added a comment.

> Don't know if it's helpful, but according to the image optimization paragraph 
> inside the mobile section of this link 
> https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fpagebanner.wmflabs.org%2Fwiki%2FRoppongi&tab=mobile
>  it says that it could be saved 99% of the information transfered between 
> server and client.

> I suppose that the reason can be found on the fact that it download this file 
> https://upload.wikimedia.org/wikipedia/commons/6/6c/Ladakh_banner.jpg instead 
> of a pre-resized version of it, for the small screen of a mobile.

> There's something that can be done?


I looked into it, the provision to load banner of appropriate size is in place 
through srcsets, the desktop version seems to be doing fine, but the mobile 
skin is loading same values in all srcsets, which is why large size banners are 
loading in mobile. I've opened a bug for that, 
https://phabricator.wikimedia.org/T103994, @Andyrom75 thanks for reporting!

> A minor thing. In http://pagebanner.wmflabs.org/wiki/Culver_City caption 
> parameter doesn't work.


Yes the caption parameter is yet to be merged in master branch, so its not 
there. See https://gerrit.wikimedia.org/r/#/c/214895/


TASK DETAIL
  https://phabricator.wikimedia.org/T97839

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Sumit
Cc: gerritbot, Andyrom75, Danapit, Glaisher, Qgil, kaldari, Sumit, 
Nicolas_Raoul, Matroc, Shaundd, LtPowers, Aklapper, Florian, Lydia_Pintscher, 
KLans_WMF, Jdlrobson, Wrh2, Bene, Wikidata-bugs, aude, Malyacko, P.Copp



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to