added clear method for cache doc