Solve the problem of Ansible website visit especially slow

Source: Internet
Author: User
Tags chrome developer

Recently contacted Ansile more, need always crossing net, but its loading speed really let people egg ache, super slow.

1. Open the Chrome Developer tool

found that it is necessary to get stuck when acquiring this URL.

RequestURL:http://www.google.com/cse/brand?form=search-form-id&inputbox=search-box-id

In fact, Google is the wall caused its loading does not come out, the manual ECS needs to stop loading, otherwise it will be very slow.

In fact, the solution is particularly simple, direct DNS resolution to change, so that he would not panding live.

2. Modify the host file to change the parsing.

Under Mac, sudo vim/etc/hosts

127.0.0.1       www.google.com

Can.

Now seconds to load

From now on to visit the official website quick a pen.
This method can solve the problem that the foreign website loads too slowly.
Words back to ansible, Yun-dimensional weapon who use who know.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Solve the problem of Ansible website visit especially slow

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.