Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28912 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37226 invoked by uid 1010); 18 Apr 2007 01:15:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37189 invoked from network); 18 Apr 2007 01:15:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Apr 2007 01:15:37 -0000 X-Host-Fingerprint: 75.57.27.140 adsl-75-57-27-140.dsl.irvnca.sbcglobal.net Received: from [75.57.27.140] ([75.57.27.140:19006] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/70-13518-D1175264 for ; Tue, 17 Apr 2007 21:15:13 -0400 Message-ID: To: internals@lists.php.net Date: Tue, 17 Apr 2007 18:15:45 -0700 User-Agent: Thunderbird 1.5.0.11pre (Windows/20070416) MIME-Version: 1.0 References: <4E.B5.43231.A959F164@pb1.pair.com> In-Reply-To: <4E.B5.43231.A959F164@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 75.57.27.140 Subject: Re: HTTP caching From: unknown@simplemachines.org ("Unknown W. Brackets") For what it's worth, this would be very nice. I always use my own custom HTTP handling for this reason (and related reasons, such as keep-alive.) However, it's also very complicated; the cached data has to be managed, has to be stored somewhere... and at what point do you add cookie management? -[Unknown] -------- Original Message -------- > 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