I needed to speed up the loading time of some dynamic pages. So I decided to try some kind of caching solution. A coworker sent me this link to Andrew Powell's blog post. I gave his facade a try it seems to be working great.
I made mach-ii plugin to manage the keys for cached content. Plugin has 2 parameters,
first is a name of event arg that has content to store in cache, second is an event to announce if there is cached content.
Here is most of the code for the plugin with makeCacheKey() method omitted because it would be different for others, the main thing is that it returns a string with a key or empty string.