public static function createPathFromUrl( $url, $cacheLocation )
	{
		$parts = parse_url( $url );

		$path = str_replace( '\\', '/', rtrim( $cacheLocation, '\\/' ) );

		if ( isset( $parts['scheme'] ) ) $path .= "/{$parts['scheme']}";
		if ( isset( $parts['host'] ) ) $path .= "/{$parts['host']}";
		if ( isset( $parts['path'] ) ) $path .= "/{$parts['path']}";

		return $path;
	}