[phplib-users] delivering static content with phplib
by Frank Bax other posts by this author
Jul 2 2007 7:42AM messages near this date
Re: [phplib-users] current status of phplib
|
Re: [phplib-users] delivering static content with phplib
Not to be confused with my other email; this one deals with a webpage that
is entirely static, but I've used php to simply the html coding. There is
a lot of repetitious html in the page, so I used php arrays to make sure it
all gets generated cleanly/consistently. Is there a phplib feature, or
some other php functions that I can use to give browser the timestamp of
the php so the browser can think the page is static instead of
dynamic? This way, when I change the page, timestamp changes and browser
should cache page until I make a change.
Another use of this would be with truly dynamic pages where database can
tell us when the data last changed. It would be nice if I could somehow
send 'last-change' timestamp to browser and allow it to do some caching
until the 'last-change' changes.
Frank
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
phplib-users mailing list
phplib-users@[...].net
https://lists.sourceforge.net/lists/listinfo/phplib-users
Thread:
Frank Bax
Layne Weathers
|