Page MenuHomePhabricator

Look at referencing the donorpreferences splash image directly from commons vs hosting locally
Open, Needs TriagePublic1 Estimated Story Points

Description

When closing tabs I was reminded of the large image that is the splash image for the donorpreferences portal. That image is hosted locally on the frdata boxes. Those hosts are single hosts in each data center and not optimized for hosting large volumes of data.

When looking at timing to load the image as is vs from commons, there is a great discrepancy (on a 100Mb home connection):

It may make sense to reference the image directly from commons so that we can take advantage of caching and the CDN that is meant for this purpose.

Also, as a side note, using the 1280px image instead of the 2560px image reliably cuts the average transmission time to ~50ms when hosted on commons.

Event Timeline

Ejegg moved this task from Backlog to Doing on the Fundraising Sprint: Xiaolongbao board.
Ejegg set the point value for this task to 1.

@Dwisehaupt I've got a suggested patch for puppet to allow this in the CSP in my homedir on frpm: 0001-Allow-loading-donor-portal-images-from-upload.wm.o.patch

Change #1215289 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Load login page image from commons

https://gerrit.wikimedia.org/r/1215289

Change #1215289 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Load login page image from commons

https://gerrit.wikimedia.org/r/1215289