get complete cache key more smartly

#14