ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-lib
php-lib
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved