1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Implemented Include version number in avatar filename

Discussion in 'Closed Suggestions' started by W1zzard, Nov 29, 2013.

  1. W1zzard

    W1zzard Well-Known Member

    It would be nice if avatar filenames had a version number that automatically increases with each upload.

    That would allow to serve avatars with far future expires headers to reduce download size, as each avatar would need to be downloaded only once.

    It would also help with serving avatars from CDN, as far future expires headers + origin-pull can be used.
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    This kind of already happens.

    The user's avatar_date is usually appended to the avatar file name. That only changes when the avatar does.
     
  3. W1zzard

    W1zzard Well-Known Member

    Ah yes, it's done via query string, not sure how I missed that :) Thanks!
     

Share This Page