otwcode/otwarchive — pull request #823 by CristinaRO (2012-08-30 22:51:29+00:00)
Title: Proper query and view caching of tag children

Fixes the "slow" part of 3202.

https://code.google.com/p/otwarchive/issues/detail?id=3202

Using the active_record-provided `cache_key` (which includes the `updated_at` timestamp) to cache a tag's children. Expiration of the fragments and query happens when the parent tag's `updated_at` changes, which is ensured by the `touch` on the association and in the tag's `remove_association` method.

(PS: the change in wrangle.html.erb is just a deprecation refactoring, since I was digging through the server log and it pulled on my sleeve (and also told me exactly how to fix it).)