Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28790 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40570 invoked by uid 1010); 13 Apr 2007 14:37:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40554 invoked from network); 13 Apr 2007 14:37:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2007 14:37:54 -0000 X-Host-Fingerprint: 194.109.253.196 mediawave.xs4all.nl Received: from [194.109.253.196] ([194.109.253.196:5401] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/B5-43231-A959F164 for ; Fri, 13 Apr 2007 10:37:14 -0400 Message-ID: <4E.B5.43231.A959F164@pb1.pair.com> To: internals@lists.php.net Date: Fri, 13 Apr 2007 16:37:05 +0200 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 194.109.253.196 Subject: HTTP caching From: bart@mediawave.nl (Bart de Boer) Hello all, I couldn't find if this is already implemented somehow. But I thought it would be a nice idea to let the PHP http streams understand HTTP caching. This could come in particularly handy when PHP is used to consume REST-based webservices. (Perhaps in the future also for SOAP 1.2 GET requests.) People could simply take control of caching by setting the Expires header of their service. Cheers, Bart