Page MenuHomePhabricator

Record existing thumbnail sizes and purge them from Varnish when appropriate
Closed, InvalidPublic

Description

Currently using varnish without Swift gives odd behavior when it comes to purging. Some thumbnail sizes are purged (need to find out how) and others are entirely missed because Swift isn't there to keep track of their existence. I presume whatever mechanism is finding some of them doesn't work with thumbor at all anyway.

We simply need a persistent data store to keep track of requested thumbnail sizes, for purging purposes.

Event Timeline

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.

I've realized that in an ideal solution, this shouldn't be necessary. Both Varnish and Thumbor should be able to purge by filename or file hash.