getCacheVersion(version) {
		return version === true
			? undefined
			: (typeof version === "function" ? version() : version) || "unset";
	}
Get the cache version for a given version value
@param {(() => string) | true | string} version The version value or function
@returns {string | undefined} The cache version