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

XF 1.5 Remove query strings from avatar's urls

gotski

Active member
#1
Hello, i created a small mod and use htaccess for removed a query strings from avatars.

for example:

before: data/avatars/s/0/1.jpg?1468399043

after: data/avatars/s/0/1468399043/1.jpg

I am not a professional programmer, and so my question is, what pitfalls or problems do I get if I use this method?

Thank you!
 

gotski

Active member
#3
Why do you want to modify/remove the cache buster?
My CDN provider ignored a query string, and if my members upload new avatar, old avatar continues to take from the CDN cache.

Are there any downsides to my little modification?

Thank you!