Feature #279

Avatar time date-stamped

Added by Ryan Gordon over 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:06/04/2009
Priority:Normal Due date:07/18/2009
Assignee:Alan Crisp % Done:

100%

Category:Other
Target version:1.6.0 Beta

Description

When a user uploads their avatar it should be timestamped so that browsers know the old one is no longer in use.
Our current system makes the avatars named like this:
avatar_3971.jpg

So when the avatar is updated users browsers still contain a cached version of the avatar

I propose it becomes something like this:
avatar-3971.jpg?dateline=1236057326

History

Updated by Ryan Gordon over 2 years ago

  • Tracker changed from Bug to Feature

Updated by Ryan Gordon over 2 years ago

  • Status changed from New to Assigned

Updated by Alan Crisp over 2 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in r4398.

Updated by Ryan Gordon over 2 years ago

  • Due date set to 07/18/2009

Updated by Chris W. B. over 2 years ago

  • Status changed from Resolved to Closed

Updated by Luca T almost 2 years ago

it should be better to use:
avatar-3971_1236057326.jpg
[avatar-id-version.ext]

'cause some reverse proxies choose to ignore these if the URL contains a query string

Updated by Ryan Gordon almost 2 years ago

We're not going to support reverse proxies. If the reverse proxy chooses to ignore query strings in URLs then it's a bug in the stupid reverse proxy.

Also available in: Atom PDF