RE: [PHP] how to generate static html pages from dynamic php pages

From: Date: Thu, 09 May 2002 05:29:07 +0000
Subject: RE: [PHP] how to generate static html pages from dynamic php pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96742@lists.php.net to get a copy of this message
Well, just like with anything cached, there is going to be a time when the info isn't exactly up to date. You could create the script so that when product 1234 is updated, 1234/index.html is deleted. Or you can set a cron job to erase files over X minutes old, so the data will at least by that recent. This would be perfect for online catalogs. How often do those really change? And rather than making everything static, just create the static pages that are actually requested... Except you can't do any of this...b/c it's patented. ---John Holmes... > -----Original Message----- > From: Kunal Jhunjhunwala [mailto:kunal@getmonked.net] > Sent: Wednesday, May 08, 2002 4:42 PM > To: php-list > Subject: Re: [PHP] how to generate static html pages from dynamic php > pages > > Interesting idea.. but what happens if the product information is updated? > :) > Regards, > Kunal Jhunjhunwala > > "Minds think with ideas, not information. No amount of data, bandwidth, or > processing power can substitute for inspired thought." - Clifford Stoll > ----- Original Message ----- > From: "Jason Soza" <solja@gci.net> > To: "Jonathan Rosenberg" <jr@tabbysplace.org> > Cc: <php-general@lists.php.net> > Sent: Thursday, May 09, 2002 5:01 AM > Subject: RE: [PHP] how to generate static html pages from dynamic php > pages > > > > I really do apologize for this, it's extremely shallow of me, but this > > patent has got to be the dumbest thing I've ever read. Seriously. I'm > > extremely irked now, the rest of my day is shot. > > > > Did you patent this just so everytime someone mentioned it you could > > say, "It IS a very cool idea, which is why I patented it 4 years ago"? > > Does that make you feel cool or something? > > > > Sorry for the nature of this post... Enlighten me. > > > > Jason Soza > > > > ----- Original Message ----- > > From: "Jonathan Rosenberg" <jr@tabbysplace.org> > > Date: Wednesday, May 8, 2002 2:10 pm > > Subject: RE: [PHP] how to generate static html pages from dynamic php > > pages > > > > > See comment below regarding technique for caching dynamic pages > > > ... > > > > > > -----Original Message----- > > > > From: 1LT John W. Holmes [mailto:holmes072000@charter.net] > > > > Sent: Wednesday, May 08, 2002 5:12 PM > > > > To: Nicole Lallande; php-general@lists.php.net > > > > Subject: Re: [PHP] how to generate static html pages > > > > from dynamic php pages > > > > > > > One really neat thing I learned from a slide show on > > > > php.net... you can have > > > > your links be to static urls like > > > > > > > www.domain.com/products/1234 > > > > > > > Since there is no 1234/ directory to begin with, > > > > you'll get a 404 error. So modify your 404 page to look in your > > > > database and see if there is a product 1234. If there is, > > > > generate the data for the page and actually write a > > > > static page to 1234/index.html and redirect the user > > > > back to it. This way, the next time someone looks at product > > > > 1234, they'll get the static page. > > > > > > > I just though this was an awesome concept. I haven't > > > > had an application that required it yet, unfortunately... > > > > > > It IS a very cool idea, which is why I patented it 4 years ago: > > > > > > > > > http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF > > > > > > &d=PALL&p=1&u=/netahtml/srchnum.htm&r=1&f=G&l=50&s1='5,740,430'.W > > > KU.&OS=PN/5,740,430&RS=PN/5,740,430 > > > > > > I would be happy to tell you that I won't be asserting this > > > patent, but the rights to this patent were assigned to Vignette > > > Corp(http://www.vignette.com/). > > > > > > > ---John Holmes... > > > > > > -- > > > JR > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#96742) next »