News for hackers. Stuff that matters.
Re:How key-based cache expiration works by getsat on Sunday February 19, 2012 @04:43PM (#3610522)
If you're rendering an object, you've likely already fetched it from the DB. Rails models (by default) will have a created_at and updated_at datetime columns that are automatically set and updated for you, and you can use them for exactly what is shown in the article.

There are no comments on this comment yet.