Username: 
Password: 
Restrict session to IP 

Upload a new avatar

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













Last Seen: 9d 1h
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: 44
Totalscore: 271102
Posts: 60
Thanks: 60
UpVotes: 31
Registered: 16y 29d
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: 253
Totalscore: 87266
Posts: 1639
Thanks: 1339
UpVotes: 887
Registered: 16y 74d




Last Seen: 1h 49m
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: 500319
Posts: 67
Thanks: 89
UpVotes: 68
Registered: 16y 58d
lordOric`s Avatar













Last Seen: 9d 1h
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: 253
Totalscore: 87266
Posts: 1639
Thanks: 1339
UpVotes: 887
Registered: 16y 74d




Last Seen: 1h 49m
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, JanLitwin17, SwolloW, dangarbri 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 3470 times.