I have json base generated a page. I try fragment caching this page. I have a problem. Cache is running but my php base json loader function is running. I want to control json loader
This method will display cached content if it is availabe. If not, it will start caching and would expect a endCache() call to end the cache and save the content into cache.
but why would you wanna check it in the controller
if($this->beginCache(id))
does exactly the same checks if data is in cache, why would you break MVC by doing this?