Springboot 2はredisを構成し、キーキーキーにはなぜ2つのコロンがあるのか:


キーuser::1値{“id”:“1”,“name”:“張三”,“age”:18}
RedisCacheクラスcreateCacheKeyメソッドCacheKeyPrefixインタフェース
	/**
	 * Creates a default {@link CacheKeyPrefix} scheme that prefixes cache keys with {@code cacheName} followed by double
	 * colons. A cache named {@code myCache} will prefix all cache keys with {@code myCache::}.
	 *
	 * @return the default {@link CacheKeyPrefix} scheme.
	 */
	static CacheKeyPrefix simple() {
		return name -> name + "::";
	}