public static function getCachingClient($cacheDir = null)
	{
		$client = new Cached(self::getClient());
		$client->cacheDir = (isset($cacheDir)) ? $cacheDir : sys_get_temp_dir();

		return $client;
	}
public static function getCachingClient($cacheDir = null)
	{
		$client = new Cached(self::getClient());
		$client->cacheDir = (isset($cacheDir)) ? $cacheDir : sys_get_temp_dir();

		return $client;
	}
public static function getCachingClient ( $ cacheDir = null ) { $ client = new Cached ( self :: getClient ( ) ) ; $ client -> cacheDir = ( isset ( $ cacheDir ) ) ? $ cacheDir : sys_get_temp_dir ( ) ; return $ client ; }
Instantiate and return a caching HTTP client

@param  string $cacheDir
@return Cached
Instantiate and return a caching HTTP client