I have a blog-type app built on CI 2.1.0. When I add
$this->output->cache(5);
to my controller, CI correctly caches the page, and it loads quickly.
My issue is that if someone comments on that post, the comment will not show until the cache expires.
I wonder if anyone has pointers on how to force a cache refresh everytime there is a change to that specific page, or if a post edit is made, etc.
Thanks in advance.