ndejong/CakephpAutocachePlugin — pull request #5 by nebbian (2013-05-22 03:39:11+00:00)
Title: Making this system cache all queries by default.

"But wait", I hear you cry, "What if I add or delete a record?"

Well, this system will automatically invalidate all entries for a model if an item is modified or deleted. Pressing "Refresh" will also invalidate the cache. It's designed to be completely plug and play, just install the plugin, modify your models to use this plugin, and bingo all your database queries will be cached. You don't need to worry about invalidating cache entries, it's all handled automatically. Just enjoy the speed boost.

This modification means that you don't need to put "autocache" => true into your queries, all queries will be cached by default.
To prevent caching, you can put "autocache' => false if you like.