Username: 
Password: 
Restrict session to IP 

Upload a new avatar

Global Rank: 7
Totalscore: 500035
Posts: 67
Thanks: 89
UpVotes: 68
Registered: 16y 104d
lordOric`s Avatar













Last Seen: 55d 3h
The User is Offline
Upload a new avatar
Google/translate1Thank You!1Good Post!0Bad Post! link
Hi !

I'm unable to upload a new avatar :
http://www.wechall.net/account.php?section=forum

I'm selecting a new picture (43x47, 2069 bytes), and the message «Your avatar has been uploaded.» is displayed, but with the old one.
Global Rank: 46
Totalscore: 271126
Posts: 60
Thanks: 60
UpVotes: 31
Registered: 16y 75d
mirmo`s Avatar








The User is Offline
Upload a new avatar
Google/translate1Thank You!1Good Post!0Bad Post! link
ça fonctionne...

C'est Sim avec un ruban noir

Un soucis de cache selon moi Smile
Global Rank: 252
Totalscore: 87258
Posts: 1644
Thanks: 1343
UpVotes: 894
Registered: 16y 120d




Last Seen: 8h 51m
The User is Offline
Upload a new avatar
Google/translate1Thank You!1Good Post!0Bad Post! link
When uploading an avatar the old one is still in the users browser-caches.

I have put "avatar version" on todo that will fix the caching issue Smile
The geeks shall inherit the properties and methods of object earth.
Global Rank: 7
Totalscore: 500035
Posts: 67
Thanks: 89
UpVotes: 68
Registered: 16y 104d
lordOric`s Avatar













Last Seen: 55d 3h
The User is Offline
Upload a new avatar
Google/translate1Thank You!1Good Post!0Bad Post! link
Quote from Gizmore
When uploading an avatar the old one is still in the users browser-caches.


You're right, I can see it, now.

I have put "avatar version" on todo that will fix the caching issue Smile


It's maybe not the best (nor the simple) way to do that, but is there any way to force the browser to use "If-Modified-Since" HTTP Header for this kind of content ?

Last edited by lordOric - Sep 07, 2009 - 19:07:25
Global Rank: 252
Totalscore: 87258
Posts: 1644
Thanks: 1343
UpVotes: 894
Registered: 16y 120d




Last Seen: 8h 51m
The User is Offline
Upload a new avatar
Google/translate1Thank You!1Good Post!0Bad Post! link
It`s actually quite simple to add an avatar version.

every time you upload an avatar i will increase the version by 1.

the img url will then be like /img/avatar/uid?v=N and it will trigger a recache on a changed version Smile

Works like a charm on other projects.
The geeks shall inherit the properties and methods of object earth.
tunelko, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, SwolloW, dangarbri, kalungmas have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 3503 times.