Crazy Little Hacks

Some little hacks and random thoughts on what interests me at the moment in the area of computer science.

Cache Digests

Well, it seems today is a great for me in terms of gem finding. I’ve been taking a look at rails 4.0 new features, which are mostly already available as gems such as Turbolinks, and another one really stole my attention.

It’s called cache digests and it makes it super easy to do russian doll caching.

I’m assuming you’re also going to need to use memcached if you want your expired caches to be removed automatically, but other than that it just works.

Comments