| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Cache a php include page?|
Is there a way to get the browser to cache the page?
I have an almost static website - that is put together using php include statements.
I've been told by my host that the php code i'm using is causing memory problems (although i didnt even think "include" would use that much memory)
If my page looked like this:
And the included files just contained html code, what is the best way to cache the complete page to stop the php code running each time?
Thanks for the help!
There are lots of caching mechanisms and techniques (good read: [mnot.net...] )but I highly doubt this is an issue for you unless you have a programming logic loop running errant somewhere in the mix.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved