Re: Conditional Requests (CACHING)

From: Date: Sat, 17 Jun 2000 04:34:35 +0000
Subject: Re: Conditional Requests (CACHING)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-2118@lists.php.net to get a copy of this message
* Richard Lynch (richard@zend.com) [000615 19:09]: > The meaning of all these caching headers and who does what when has never > been well-designed (or it it was designed, not enough implementers paid > attention)... The latter I think, but cachíng proxies *do* pay attention. > Come to think of it though, since PHP is generating the page on the fly, > then, by definition, it's newer than the other one you got... Just how do > you want Apache and PHP to know that the page PHP would generate, if you > wanted it, is the same as the one it generated before?... Yes, but I am generating *the same page* as before quite often. I would like a way to tell PHP and APACHE that this is the case, so it could stop processing the rest of the file (or better, not process it at all) and just tell the cache it hasn't changed. > If you're really hot on page-caching, you may have to write a PHP program > that creates static pages, which are then served up, and some other > trigger to decide when to re-create the static pages... You mean, go back to writing pages with CGI and SHELL scripts? No thanks. Even if PHP adds a new twist on that, it's still doing a much better job than otherwise. But if we are serious about allowing PHP pages to get obscene amounts of hits, we need a method of addressing conditional requests. It makes a *huge* difference in the speeds of pages, and allows better serving structures. Both are big $$$ items. In addition, I like my pages to be the best they can be. :) > -- > Richard Lynch | If this was worth $$$ to you, buy a CD > US Customer Support Director | from one of the artists listed here: > Zend Technologies USA | http://www.L-I-E.com/artists.htm > http://www.zend.com | (this has nothing to do with > Zend, duh!) I'll take a look at the musicians you mention. I always like to hear new stuff. Ciao! -- "Ray, when someone asks you if you're a god, you say YES!" --Winston Zeddmore (Ghostbusters) The Doctor What: "What, Doctor What" http://docwhat.gerf.org/ docwhat@gerf.org KF6VNC

« previous php.general (#2118) next »