30% of ParserCache is just fragmentation of mobile frontend due to using "responsiveimages" in PC key. I would have been okay with fragmentation if that was intentional but it seems it's not (MF first reparsers the page and then applies a lot of transformations).
I hope turning responsiveimages into a transformation rather than PC split would be rather easy because it would improve response time of mobile (by reusing desktop cache) and drastically reduces size of parsercache.
Cache/DB QA
To be done by @Ladsgroup
- Testing that fragmentation stops.
Performance QA
To be done by @nray, @Ladsgroup :
- Analyze the effect this change will have on the HTML and image payload size (see T293303#8630702)
- Analyze the effect this change will have on HTML parse time and other metrics that our synthetic tests record (see T326147#8639477)
- Analyze FirstView android dashboard
- Analyze ParserCache dashboard
- Analyze NavigationTiming dashboard
Consult with Performance team for any consistent and large spikes
Functional QA steps
To be done by @Edtadros
Clear the parser cache on both desktop and mobile sites by:
- Visiting https://en.wikipedia.beta.wmflabs.org/wiki/Dog?action=purge on desktop device and clicking the "Yes" button
- Visiting https://en.m.wikipedia.beta.wmflabs.org/wiki/Dog?action=purge on desktop device and clicking the "Yes" button
Using a mobile device:
- Visit https://en.m.wikipedia.beta.wmflabs.org/wiki/Dog
- Open each section and scroll down to the bottom of the page
- Verify that the images load correctly, and there are no visual regressions with the infobox
- Click on one of the thumbnails
- Verify that the image loads the lightbox correctly
@Edtadros will get in touch with @EAkinloose or @Ryasmeen for QA of DiscussionTools
Using a desktop device:
- Visit https://en.wikipedia.beta.wmflabs.org/wiki/Dog
- Scroll down the bottom of the page
- Verify that the images load correctly, and there are no visual regressions with the infobox
- Click on one of the thumbnails
- Verify that the image loads the lightbox correctly
Sign off steps
- Update or resolve T293303
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T326147#8643083 |
2 | ✅ | T326147#8643083 |
3 | ✅ | T326147#8643083 |
4 | ✅ | T326147#8643083 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T326147#8655188 |
2 | ✅ | T326147#8655188 |
3 | ✅ | T326147#8655188 |
4 | ✅ | T326147#8655188 |