Username: 
Password: 
Restrict session to IP 

Upload a new avatar

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













Last Seen: 219d 19h
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: 45
Totalscore: 271248
Posts: 60
Thanks: 61
UpVotes: 32
Registered: 16y 239d
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: 227
Totalscore: 94365
Posts: 1680
Thanks: 1358
UpVotes: 920
Registered: 16y 285d




Last Seen: 23h 24m
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: 498348
Posts: 67
Thanks: 89
UpVotes: 68
Registered: 16y 269d
lordOric`s Avatar













Last Seen: 219d 19h
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: 227
Totalscore: 94365
Posts: 1680
Thanks: 1358
UpVotes: 920
Registered: 16y 285d




Last Seen: 23h 24m
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, csuquvq 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 3657 times.