|
|
diagnostic command
Before even thinking about implementing this hint, you should find out exactly what it is that is slowing down your web browsing. Sometimes it is the DNS, but sometimes it is the server (nothing you can do about that), and sometimes it is the browser.
To eliminate the browser as a source of slowness, you can download the raw HTML via a command-line tool that does all the things that a browser does - except it doesn't display the page and so issues of graphics and rendering speed are factored out. The 'curl' program is one such command-line tool that you can use. It turns out that 'curl' has some built-in diagnostics that are very useful for debugging web browsing troubles. The following command (copy & paste it into a Terminal window, and press Return) will show you the times taken for the various steps needed to retrieve a page from a given URL. This command is supposed to be all on one line but I have broken it up onto two lines to make it fit better on the page. You need to use the actual URL in place of "the_URL_of_the_web_page":
You could make this into a convenient one-word command as a Bash function by putting the following in your ~/.profile file (again this is broken into two lines but is supposed to be all on one line):
The first time reported is the time for the DNS query. If that time is small, then this hint definitely won't be of help.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|