When a user uploads a user picture, the browser typically caches the image. When the same user uploads a new picture that has the same file extension as their previous user picture, the browser typically displays the old image. I'm throwing the idea out there to do something like we do with css and js files and add a cache-busting query to the image to make sure that the browser displays the current user image.

Comments

dave reid’s picture

Issue tags: +user pictures
dave reid’s picture

Title: Implement cache-busting query for user pictures » Improve user picture caching
Status: Active » Closed (duplicate)

Marking as a duplicate of #38171: Improve user picture caching.

dave reid’s picture

Title: Improve user picture caching » Implement cache-busting query for user pictures
c960657’s picture