[phplib-users] OT: caching static content
by Frank Bax other posts by this author
Jul 2 2007 7:40AM messages near this date
Re: [phplib-users] delivering static content with phplib
|
[phplib-users] phplib and PHP5?
I've got some php pages with more static than dynamic content. Is there a
way to send this to the client's browser as two files so that the browser
can cache the static portion of the page? A simple example would be static
header/menu in one file; dynamic content; then static footer content. I
know I can simply use php include() function to send the static header with
every request, but then the browser only sees one large dynamic page. I'd
like the browser to know that the header and content are separate so that
it can cache header part of the page. Using frames is the only idea I
could come up with (with static and dynamic content in separate frames),
but frames just won't work in this project.
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
|