note 79880 deleted from function.header by danbrown
| From: | danbrown@php.net | Date: | Sun, 07 Dec 2008 18:07:17 +0000 |
| Subject: | note 79880 deleted from function.header by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147801@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 which explains in detail how to control client-side cache with
headers and implement a server-side cache as well. Its 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. May have another way to get the IF-MODIFIED-SINCE header in CGI mode, but
I don't know.