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

« Next Oldest | Next Newest »

Messages In This Thread
Unique Avatar URLs - ZiNgA BuRgA - 01-25-2008 08:04 PM
RE: Unique Avatar URLs - MyBB Us3r - 01-28-2008, 06:38 AM

 Standard Tools
Forum Jump: