Problem solved!!!
Everything was working ok with PHP. My class was working ok. The engineering
and logic behind PHP was working. So... what was the problem? Apache...
well, it wasn't a problem, but a misconfiguration or better said, a
mis-optimization.
In my first message, I stated: (quote)
>
On Wed, Jan 20, 2010 at 04:34, richard gray wrote:
>
> Camilo Sperberg wrote:
>
>> Hi list, my first message here :)
>>
>> To the point: I'm programming a class that takes several CSS files,
>> parses,
>> compresses and saves into a cache file. However, I would like to go a step
>> further and al
Camilo Sperberg wrote:
Hi list, my first message here :)
To the point: I'm programming a class that takes several CSS files, parses,
compresses and saves into a cache file. However, I would like to go a step
further and also use the browser cache, handling the 304 and 200 header
types myself.
ok, you might wanna re-ask on an apache list in that case..
On Wed, Jan 20, 2010 at 6:48 AM, Camilo Sperberg wrote:
>
>
> On Wed, Jan 20, 2010 at 02:33, Rene Veerman wrote:
>>
>> if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) AND
>> strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) == $last_modified)
On Wed, Jan 20, 2010 at 02:33, Rene Veerman wrote:
> if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) AND
> strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) == $last_modified) {
>
>
> shouldn't that be
>
> strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) >= $last_modified)
>
> ?
>
Now that I think about
On Thursday 06 September 2001 12:28, [EMAIL PROTECTED] wrote:
> The problem is that PHP has to generate the Last-Modified header, so it
> can't send only the "HTTP/1.0 304 not modified", that is what I want.
You send the Last-Modified on the requests where you *do* send a page
back (i.e. those n
u for your help.
> -- Initial message ---
>
> From: Christian Reiniger <[EMAIL PROTECTED]>
> To : "Ouster" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Cc :
> Date : Thu, 6 Sep 2001 11:53:50 +0200
> Subject : Re: [PHP] 304 Not
On Wednesday 05 September 2001 21:22, Ouster wrote:
> I'm making a sort of cache system. I fell to this problem: I leave a
> cookie with the timestamp of the last access, and when the user
> reconnect, I compare the timestamp of the last change with the
> timestamp sent me with the cookie. Then I
Ouster wrote:
>header("304 Not Modified);
>
Looking at the docs (I know, silly, eh?), the correct form of this
appears to be:
header ("HTTP/1.0 304 Not Modified");
In addition to the missing " as was already pointed out...
Chris Hobbs
Silver Valley Unified School District
--
PHP Gen
You don't think your missing " might have soemthing to do with it? Or maybe
it's not that simple at all.
- seb
-Original Message-
From: Ouster [mailto:[EMAIL PROTECTED]]
Sent: 05 September 2001 20:23
To: [EMAIL PROTECTED]
Subject: [PHP] 304 Not Modified
I'm making a sort of cache
10 matches
Mail list logo