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

XF 1.4 Bust default avatar cache

ichpen

Well-known member
#1
So I was feeling lazy and overwrote the default avatars on a custom style. Is there a cool trick to add a querystring to the default avatar images (seeing I'm caching images indefinitely) perhaps in a template edit or do I need to resort to some good old fashioned nginx rules for this.

Appreciate suggestions on this.
 

Chris D

XenForo developer
Staff member
#2
It would actually end up requiring some sort of manual code edit as the avatars are displayed via template helpers. Ultimately, it would likely just be easier to sort out on the server side if possible.