Re: [PHP] Making a PHP Script "Very" Cache Friendly

2003-06-03 Thread Gerard Samuel
Gerard Samuel wrote: Searching through the archives, most people are running away from caching php scripts. Im trying to do the opposite. I have a script that fetches css files. Im trying to add header() calls to it so that browsers can cache it like a normal css file. This is what I have at th

Re: [PHP] Making a PHP Script "Very" Cache Friendly

2003-06-02 Thread Wendell Brown
On Mon, 02 Jun 2003 02:38:51 -0400, Gerard Samuel wrote: >For the life of me, according to the output of ethereal (a network >sniffer), this file is always fetched from the server. Have you looked at what is actually coming out in the headers? If not, grab a copy of Sam Spade for windows (http:

RE: [PHP] Making a PHP Script "Very" Cache Friendly

2003-06-02 Thread Don Read
On 02-Jun-2003 Gerard Samuel wrote: > Searching through the archives, most people are running away from > caching php scripts. > Im trying to do the opposite. > I have a script that fetches css files. Im trying to add header() calls > to it so > that browsers can cache it like a normal css file

Re: [PHP] Making a PHP Script "Very" Cache Friendly

2003-06-02 Thread Joshua Moore-Oliva
You can always store the file and every so often regenerate it, and if the regernation hasn't timed out jsut passtrhu the cache. On June 2, 2003 02:38 am, Gerard Samuel wrote: > Searching through the archives, most people are running away from > caching php scripts. > Im trying to do the opposite

[PHP] Making a PHP Script "Very" Cache Friendly

2003-06-02 Thread Gerard Samuel
Searching through the archives, most people are running away from caching php scripts. Im trying to do the opposite. I have a script that fetches css files. Im trying to add header() calls to it so that browsers can cache it like a normal css file. This is what I have at the top of the file -> -