In the german apache Mailinglist somebody wrote some like this:

a) aktivate the modul
b) Fill in the lines
# enable expirations
ExpiresActive On
# expire php pages after a minute in the client's cache
ExpiresByType text/php A60000

into httpd.conf

But I don't really know if it works (:0

Thought about I maybe have to write


instead of text/php

Please tell me if it works


> > In browsers, my php pages are cached. All the code that is returned by
> > are stored. In version 4.1 this not ocurred, anybody can help me?
> First: Check if you send headers:
>   header('Pragma: no-cache');
>   header('Expires: Thu, 01 Jan 1970 01:00:00 GMT');
>   header('Cache-Control: no-cache, must-revalidate, private');
> Second: If your appache sends "HTTP 1.0" try to change to "HTTP 1.1".
> "HTTP 1.0" "do not know" Cache-Control.
> --
> PHP General Mailing List (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to