Added cache.clear()
Added cache_spec