rails/cache_digests — pull request #2 by mschae (2012-09-05 14:28:23+00:00)
Title: Cache digests

Instead of generating the MD5 digest every time the view loads, we should cache the digests.

In order not to defy the meaning of this whole gem I used a constant that is cleared every time `config.to_prepare` is invoked. That way we don't loose any of the pain relief this offers while gaining a bit more performance.