cache_key method and specs