Manual:$wgThumbnailEpoch

Details
If rendered thumbnail files are older than this timestamp, they will be re-rendered on demand as if the file didn't already exist.

Update if there is some need to force thumbs and SVG rasterizations to re-render, such as fixes to rendering bugs.