alphagov/gds-api-adapters — pull request #26 by alext (2012-09-28 08:12:38+00:00)
Title: Add expiry to the LRUCache

This defaults to 15 mins, but can be overridden.

I've also added more tests around the cache size.

I was considering increasing the default number of cached items from 10 to something like 100. I haven't made that change, but think it's something we should discuss.