Curl is good at getting the response time for a single element, but sometimes you need to see how fast the whole page loads.
curl很适合了解单一元素的响应时间,但是有时候需要了解整个页面的装载速度。
The cURL utility has so many options, it's best to read over its lengthy man page. Here are some common cURL uses
cURL 实用程序有很多选项,最好通读它的手册页。
To test the page, simply navigate to it in the browser and select View Source to see what is returned. Another option is to use curl to get the XML return as noted here.
要测试页面,只需在浏览器中浏览并选择View Source来查看返回的内容。
应用推荐