n8w Posted April 19, 2007 Share Posted April 19, 2007 Hey .. Is there an application or something that allows me to cache parts of a page and not others? It would be ideal if I could put tags in the page where I want to begin and end caching .. something like: web page content web page content web page content web page content web page content web page content <!-- cache everthing between these tags --> <? cache_page("start") ?> result from database query that doesn't change very often ... etc <? cache_page("end") ?> another call to the database but I don't want this part cached .. web page content web page content web page content web page content web page content web page content Quote Link to comment Share on other sites More sharing options...
Michael Lasky Posted April 19, 2007 Share Posted April 19, 2007 Caching is a pretty broad topic (which I unfortunately don't know enough about to give you a really good answer). I highly suggest this book though: http://www.amazon.com/Advanced-PHP-Programming-George-Schlossnagle/dp/0672325616 It devotes a whole section on caching and application performance. It's worth the price of the book just for that section alone. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.