Page MenuHomePhabricator

Add sha1 to thumbnail URLs
Closed, ResolvedPublic

Description

There are already mechanisms purging articles that include images when said images are updated. By adding the sha1 of the original to the thumbnail URL, this ensures that articles always point to the up-to-date version of the thumbnail. Which will then allow us to do T111721: Far-future expires for thumbnails on vagrant

Details

Related Gerrit Patches:

Event Timeline

Gilles created this task.Sep 14 2015, 4:14 PM
Gilles claimed this task.
Gilles raised the priority of this task from to Medium.
Gilles updated the task description. (Show Details)
Gilles added a project: Performance-Team.
Gilles added subscribers: Gilles, Aklapper.

Change 238186 had a related patch set uploaded (by Gilles):
Add option to expose original sha1 in thumb url

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

Gilles moved this task from Inbox to Doing on the Performance-Team board.Sep 14 2015, 6:00 PM

Change 238186 merged by jenkins-bot:
Add option to expose original sha1 in thumb url

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

Tgr added a subscriber: Tgr.Oct 2 2015, 6:26 AM

Same as T66214?

Gilles closed this task as Resolved.Oct 2 2015, 6:29 PM

This is a modest experiment at this point and is only expected to work on my Thumbor VM setup for now.