Re: New image already cached.

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

 



At 04:12 PM 4/18/2006, Richard Lynch wrote:
If however, you want to be sure the browser doesn't cache the image,
because it is dynamic, just add some randomness to the URL.

Technically, that means the browser WILL cache it, but you'll never
use the same URL twice, so you won't really care.


But the user might care. This will artificially inflate the user's computer's internet cache -- an insignificant load if they visit this one site just a little, but potentially significant if they visit it a lot or if doing this became common practice on the net.

Or the programmer might care. It feels very inelegant to me to keep generating trash with no automatic trash collection in place. I'd be somewhat mollified if some of those cache-suppression techniques were used to keep things cleaner at the user's end, but still... Why create an engine that produces an unlimited stream of garbage when it's so easy to make it all finite?

Paul
--
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