I am writing a very small cache plugin called Tiny Cache.
It would cache only
the_content() calls which take – I think – the longest time to generate during a page load.
I am able to hook the_content and store it in the object cache.
How can this plugin serve cached content? How to stop the_content filter from being processed?
remove_all_filters() would destroy all further
the_content() calls. Maybe a way to stash filters away and restore them later?
Read more here: Caching the_content calls