Does PHP has a built in fragment caching mechanism to server side cache code parts?
For example, I have a page that queries the database 15x times. Most times the results will be the same, even between users. Caching is a good option! These results are shown in HTML (with echo commands). It would be nice to cache the results of that code part. I cannot collect all the echo's in one variable. Is there a easy way to "record" the results of that php code with a begin and end, and save it in the cache?
Thanks!