Re: HTTP caching

From: Date: Wed, 18 Apr 2007 01:15:45 +0000
Subject: Re: HTTP caching
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-28912@lists.php.net to get a copy of this message
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


« previous php.internals (#28912) next »