Welcome Guest, Not a member yet? Register   Sign In
Caching example please!
#1

[eluser]Emkay[/eluser]
Can anyone give me an example on how to cache PART of a page or view on PHP? I also know about the articles in the user guide but they don't really make any sense, I would really appreciate a proper example if it in use.

For example, I have a view which outputs a list of featured items from the database. I want this list to be cached but not the rest of the page so the same query does not need to execute on every page load. How do I do this?

Thanks a lot!




Theme © iAndrew 2016 - Forum software by © MyBB