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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php