Cache headers?

by "Lauri Vain" <optima(at)hot.ee>

 Date:  Fri, 9 Feb 2001 16:51:02 +0200
 To:  <hwg-languages(at)hwg.org>
  todo: View Thread, Original
Hello everybody,

I want the browser to cache dynamic images served directly from the database. To
do this, I need to send headers but I don't know the exact value that has to be
entered for HTTP PRAGMA and HTTP CACHE-CONTROL (are there others which control
caching?). The image has to be cached forever (or as long as the browser permits
it to be cached). Do I also have to send the HTTP EXPIRE?

Are the following ones right? Can anybody add some? Anyway, can anybody please
tell me the correct values to accomplish this task?

header("Cache-Control: cache");
header("Pragma: cache");


Thanks very much!

Yours,
Lauri

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA