In the german apache Mailinglist somebody wrote some like this:
a) aktivate the modul mod_expires.so
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
application/x-httpd-php
instead of text/php
Please tell me if it works
Sascha
> > In browsers, my php pages are cached. All the code that is returned by
php
> > 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 (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php