Re: [PHP] Problems with caching and headers.

2006-07-11 Thread Jochem Maas
Mathijs wrote: > Jochem Maas wrote: >> Mathijs wrote: ... > (Hartelijk dank voor de hulp :D ). we kunnen geheime taal gaan gebruiken - vinden ze hier vast leuk ;-) > > Mathijs > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems with caching and headers.

2006-07-11 Thread Mathijs
Jochem Maas wrote: Mathijs wrote: ... Now i have a problem with the ETag. what are you using this header for? I Use this header to check if the content of a file has changed. This because the content can be variable. But is static most of the time. I Compute an MD5 of the content, and add t

Re: [PHP] Problems with caching and headers.

2006-07-11 Thread Jochem Maas
Mathijs wrote: ... >>> >>> Now i have a problem with the ETag. >> >> what are you using this header for? > > I Use this header to check if the content of a file has changed. > This because the content can be variable. But is static most of the time. > > I Compute an MD5 of the content, and add

Re: [PHP] Problems with caching and headers.

2006-07-11 Thread Mathijs
Mathijs wrote: Jochem Maas wrote: Mathijs wrote: Hello there, I can't figure out why there are some headers set while i don't set them myself. The following headers are sent to the browser. -Expires: Thu, 19 Nov 1981 08:52:00 GMT -Cache-Control: no-store, no-cache, must-revalidate, post-check

Re: [PHP] Problems with caching and headers.

2006-07-11 Thread Mathijs
Jochem Maas wrote: Mathijs wrote: Mathijs wrote: Jochem Maas wrote: Mathijs wrote: Hello there, I can't figure out why there are some headers set while i don't set them myself. The following headers are sent to the browser. -Expires: Thu, 19 Nov 1981 08:52:00 GMT -Cache-Control: no-store, n

Re: [PHP] Problems with caching and headers.

2006-07-11 Thread Jochem Maas
Mathijs wrote: > Mathijs wrote: >> Jochem Maas wrote: >>> Mathijs wrote: Hello there, I can't figure out why there are some headers set while i don't set them myself. The following headers are sent to the browser. -Expires: Thu, 19 Nov 1981 08:52:00 GMT

Re: [PHP] Problems with caching and headers.

2006-07-11 Thread Mathijs
Jochem Maas wrote: Mathijs wrote: Hello there, I can't figure out why there are some headers set while i don't set them myself. The following headers are sent to the browser. -Expires: Thu, 19 Nov 1981 08:52:00 GMT -Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

Re: [PHP] Problems with caching and headers.

2006-07-11 Thread Jochem Maas
Mathijs wrote: > Hello there, > > I can't figure out why there are some headers set while i don't set them > myself. > > The following headers are sent to the browser. > -Expires: Thu, 19 Nov 1981 08:52:00 GMT > -Cache-Control: no-store, no-cache, must-revalidate, post-check=0, > pre-check=0 > -P

Re: [PHP] Problems with Caching

2002-11-18 Thread Adam Humphrey
Thanks for your help both Maxim and Marek...everything's working now! -Adam "Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > try calling implicitly flush() function: > > > Example code: > Working... > flush(); > sleep ( 10 ); > ?> > > -- > Ma

Re: [PHP] Problems with Caching

2002-11-18 Thread Marek Kilimajer
check the value of output_handler or try calling flush() before the code. Did you not change anything in apache? Adam Humphrey wrote: When I upgraded to 4.2.3 from 4.2.2 I no longer am able to see HTML before PHP code that takes a while to process. I made sure that I've set "output_buffering =o

Re: [PHP] Problems with Caching

2002-11-18 Thread Maxim Maletsky
try calling implicitly flush() function: Example code: Working... -- Maxim Maletsky [EMAIL PROTECTED] "Adam Humphrey" <[EMAIL PROTECTED]> wrote... : > When I upgraded to 4.2.3 from 4.2.2 I no longer am able to see HTML before > PHP code that takes a while to process. > > I made sure that