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
5 matches
Mail list logo