FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Uploaded images not cached in browsers cache
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Uploaded images not cached in browsers cache [message #21075] Thu, 11 November 2004 17:47 Go to next message
Kermit is currently offline  Kermit   United Kingdom
Messages: 35
Registered: November 2004
Karma: 0
Member
I've just recently noticed on a FUD 2.6.4 powered forum that i'm an admin/mod of that that user uploaded images aren't being cached in my and other users browser caches (I've tested this on IE6.1 & Firefox 1.0).

I've tried searching here for a fix/reason but can't find one and have come to the possible conclusion that its because the url of uploaded images don't end in a browser recognisable extension unlike images from elsewhere with full url's

eg [i.m.g]index.php?t=getfile&id=2521&private=0[/i.mg]

Most [if not all browsers] must then discard the image data from there caches even though of course the images must be there in some form - of course i could be wrong in this assumption but its my best guess as to why and a fix would be nice.

The end result of this non-caching is that particullarly on threads with multiple images (we have a good few) each time the thread is accessed by a user everything has to be re-downloaded by them which as you can imagine is quite a drain on bandwidth and annoying slow for users [even those on BB]

I should just add that even though I have admin rights on the forum its not mine to tinker with (too much) and tbh I don't know much about linux/apache anyway so any suggestions/fixes anyone can suggest I'll pass onto the owner of the site who knows his stuff but is very busy with work atm Smile

System Configuration FYI
PHP built On: SunOS forum 5.8 Generic_117000-03 sun4u
Database Version: 4.0.13-max
PHP Version: 4.3.2
Web Server: Apache/2.0.47 (Unix) PHP/4.3.2
WebServer to PHP interface: apache2handler
Forum Version: 2.6.4

[Updated on: Thu, 11 November 2004 17:50]

Report message to a moderator

Re: Uploaded images not cached in browsers cache [message #21078 is a reply to message #21075] Thu, 11 November 2004 20:27 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Addressed in CVS, will sent last-modified header in the next release.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How do you restrict certain attachments
Next Topic: Change Log In Name
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 05:08:06 GMT 2024

Total time taken to generate the page: 0.02676 seconds