Hi,
As part of recent work on Media Viewer we've introduced new data attributes to thumbnails (affecting only wikis where the extension is installed): https://gerrit.wikimedia.org/r/#/c/121613/3/MultimediaViewerHooks.php,unifie...
These attributes currently help us display a placeholder image 500ms sooner on average and will soon allow us to display the actual image 500ms sooner as well, which is a huge performance gain in the context of Media Viewer.
However at the moment articles can only benefit from it if they have been re-saved since this code was deployed.
Is there a way - for the wikis hosted by the foundation where Media Viewer is deployed - to gradually re-save or somehow invalidate all articles?
Doing this with a code change that would invalidate all articles at once is probably undesirable, since this would create a huge spike in web server and Varnish load. So, I was wondering if this can be done with a job or a bot, and if there is precedence or existing tools to perform such a task.