HTTP caching

php.internals

Bart de Boer

19 years ago
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

Unknown W. Brackets

19 years ago
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 --------

Bart de Boer

19 years ago
Anyone care to comment? Bart de Boer wrote: