function getCacheKey$1( object, force = false ) {

	const values = [];

	if ( object.isNode === true ) {

		values.push( object.id );
		object = object.getSelf();

	}

	for ( const { property, childNode } of getNodeChildren( object ) ) {

		values.push( cyrb53( property.slice( 0, -4 ) ), childNode.getCacheKey( force ) );

	}

	return cyrb53( values );

}
Computes a cache key for the given node.

@method
@param {Object|Node} object - The object to be hashed.
@param {boolean} [force=false] - Whether to force a cache key computation or not.
@return {number} The hash.