Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Unique Avatar URLs
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #1
Unique Avatar URLs
An issue I've encountered at times is with uploaded avatars and browser caches.

Let's say, a user uploads a PNG avatar.
Two weeks later, they upload another PNG avatar.  However, when they finish uploading it, they see their old avatar!
This is because the browser is caching their old avatar - a simple page refresh fixes it, however, other users may see the old avatar...

...and, users aren't always that intelligent.

This simple plugin forces avatar upload URLs to be unique, thus, forcing the browser to reload the avatar, whenever it's changed.


Attached File(s)
.php  uniqava.php (Size: 827 bytes / Downloads: 722)

My Blog
01-25-2008 08:04 PM
Find all posts by this user
MyBB Us3r Offline
Junior Member
**
Posts: 19
Joined: Jan 2008
Post: #2
RE: Unique Avatar URLs
True, not many users refresh their cache, therefore they see the old images for a while.
01-28-2008 06:38 AM
Find all posts by this user

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: