Resource icon

xF2 Add-on Xon AvatarUrl 1.0

No permission to download
Compatible XF Versions
2.0
Rewrites Avatar URLS to be more cache friendly by moving the timestamp from a query string parameter to part of the URL.

WARNING, requires URL rewrite support from host!

Nginx config:

Code:
location ^~ /data/avatar/ {
         rewrite ^/data/avatar/([0-9]*)/(.*)$ /data/avatars/$2 last;
         return 403;
     }
Author
DareDevil
Downloads
6
Views
329
Last update
Rating
0.00 star(s) 0 ratings

More resources from DareDevil

Top