On Thu, Dec 04, 2003 at 12:27:08PM -0600, fedora-devel@tlarson.com wrote:
For PHP based sites, here's a really cool way to do it. These bits of code serve two purposes: they allow you to use PHP to generate pages that can be browser-cached just like static .html documents. And as an added bonus, they stick the last-modified time at the end of the page.
I don't know what system you use for your site, but these code fragments are too wicked cool to just keep to myself.
We use PHP to *generate* the site but not serve it. Odd, I know.
But thank you for posting these!
michaelkjohnson
"He that composes himself is wiser than he that composes a book." Linux Application Development -- Ben Franklin http://people.redhat.com/johnsonm/lad/