Re: IMAGE LOADED...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, August 12, 2006 3:18 pm, BBC wrote:
> I build a small site in which some images are loaded in all pages. I
> concern if the client have slow connection to internet.
> Does any one can tell me how to send such images to client's computer?
> I want to increase the speed connection by taking such image from
> client's computer when it's already set (just like cookie or
> cache)

If you are using an image tag, and
if the URL does not change for any given image, and
if the headers do not have no-cache, and
if the headers do have a reasonable expiration
then all browsers will cache the image.

In addition, if the first two conditions are met, IE will probably
cache the damn thing anyway, whether it should or not. :-(  This leads
to the opposite problem of IE caching DYNAMIC images when it should
not, which is a whole different rant. :-)

Oh, plus, AOHell will re-sample and re-compress and cache your images,
to decrease bandwidth.  AOLusers can over-ride this in their own
settings, if they can figure out how to click through AOL's interface
hell to do that.

Hope that helps.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux