Advertisement:

Author Topic: Do Avatars Get Cached?  (Read 1995 times)

Offline 127.0.0.1

  • Jr. Member
  • **
  • Posts: 265
  • Gender: Male
Do Avatars Get Cached?
« on: December 26, 2006, 08:06:14 AM »
Do the avatars when loaded as src="......index.php?action=dlattach;attach=828;type=avatar" get cached? Or are they downloaded each time from the server?

On my theme I have the avatar set to 30x30, aside from that nothing about it has changed however it looks like it's refreshing on every page hit because it takes a second to appear in IE while every other page and graphic loads instantaneously.

Offline Grudge

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,742
  • Gender: Male
  • Unofficial nuisance
Re: Do Avatars Get Cached?
« Reply #1 on: December 26, 2006, 02:17:51 PM »
I'd think it should be cached - don't see why we'd send a no-cache header for it. Can you check your apache logs to see whether you are indeed getting more than one request?
I'm only a half geek really...

Offline 127.0.0.1

  • Jr. Member
  • **
  • Posts: 265
  • Gender: Male
Re: Do Avatars Get Cached?
« Reply #2 on: December 26, 2006, 03:15:22 PM »
Good idea. I checked and no more than one request. It's definitely caching. I guess it is an IE7 issue.

Thanks for the reply.