A variation of core.cache's TTLCache specialised for some different cases