[openbeos] Re: Please no PHP!

  • From: Ben Hengst <hengst.1@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 01 Jan 1999 13:32:54 +0000

ya that sounds right because my guess is that because the actual file that is 
sent to stdout by the php script is never the same tecnicaly the browser 
doesnt trust the cache all the time. this forces the browser to trust the 
cache. 
ben~


>Hm...
>I'm no PHP-expert, but maybe this would solve that.
>(Provided its the cache that actually IS the problem)
>If this is included first (or somewhere before any other headers is sent) on
>every page it SHOULD (correct me if I'm wrong) set the expire-date of every
>page to tomorrow... or atleast later.
>----snippety----
><?PHP
>$tomorrow  = gmdate ("D, d M Y H:i:s",mktime
>(0,0,0,date("m"),date("d")+1,date("Y"))) . " GMT";
>header("Expires: ".$tomorrow);
>?>
>----snippety----
>
>/Sam Persson
>
>----- Original Message -----
>From: "Michael Noisternig" <michael.noisternig@xxxxxxxxx>
>To: <openbeos@xxxxxxxxxxxxx>
>Sent: Sunday, March 10, 2002 2:57 PM
>Subject: [openbeos] Re: Please no PHP! [Fwd: Returned Mail: Error During
>Delivery]
>
>
>> I don't know PHP but before the change to PHP the graphics were not
>> reloaded every page view as it happens now.
>> I could change the cache setting from "automatical" to "never" but that
>> wouldn't solve it. ;-/
>> If the browser doesn't care wether it's PHP or HTML then maybe the page
>> is just missing some meta-tags for duration of validity?
>>
>> Michael Noisternig
>>
>>
>
>


Other related posts: