CakePHP caching user specific query data, best practice
问题 I would like to employ caching at model level in the current web application I am working on. I am comfortable with caching general things, like "latest news" or other non-user specific things like that, I am looking for some direction on caching queries which rely on user specific data. For instance, a list of a User's comments. The query will need the Users ID, and the result will only be specific to that User, so how should I cache this? More importantly, simply clearing the entire cache