note 79868 rejected from function.header by betz
| From: | betz@php.net | Date: | Mon, 17 Dec 2007 16:47:41 +0000 |
| Subject: | note 79868 rejected from function.header by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133730@lists.php.net to get a copy of this message | ||
Note Submitter: Edemilson Lima - pulstar at gmail dot com
----
http://www.sitepoint.com/article/caching-php-performance
http://www.sitepoint.com/article/php-anthology-2-5-caching
I did find this excellent tutorial and it explain in detail how to control client-side cache with
headers and implement a server-side cache as well. It examples are really useful to bring more
performance to your site, but pay attention that getallheaders() and apache_request_headers() only
work when PHP is running as an Apache module. Unfortunatelly, these functions are not available when
PHP run as a CGI/FastCGI. Do anybody here know another way to get the IF-MODIFIED-SINCE header in
CGI mode?