Cache patches
| From: | Peter Bowen | Date: | Sat, 08 Feb 2003 13:51:57 +0000 |
| Subject: | Cache patches | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-13071@lists.php.net to get a copy of this message | ||
I have been using the two attached patches to the Cache module for
several months in production without any problems.
The first one, php-Cache-1.5.1-none-encoding.patch corrects the
documentation for the encoding_mode property and adds a 'none' option
for situations where base64 encoding is unnecessary. Using none
significantly speeds up the cache.
The second patch, php-Cache-1.5.1-getexprires.patch, adds an API method
to get the expiration date of the cache entry and uses it where
appropriate. It is useful when acaching full HTTP content responses as
it allows the Expires header to be set accurately.
I hope that other people find these useful and they can get merged into
CVS.
Thanks.
Peter
Attachment: [text/x-patch] php-Cache-1.5.1-none-encoding.patch
Attachment: [text/x-patch] php-Cache-1.5.1-none-encoding.patch