Question

When using Chrome with a POW .dev domain, page loads are incredibly slow.

There is a long delay between Rails finishing its work and the page being rendered to the screen.

Running the same app on a .dev domain in Safari or Firefox results in instant page load. As does running an alternate server locally on localhost.

Était-ce utile?

La solution

The specifics of getting it to work on OSX are as follows:

  1. Open System Preferences
  2. Open Network
  3. Open Advanced
  4. Click Proxies tab
  5. in the field labelled Bypass proxy settings for Hosts & Domains, add *.dev
  6. Click OK
  7. Click Apply

Autres conseils

I had a similar problem but with a different solution. Under systems preferences -> Network -> Advanced -> DNS I added localhost 127.0.0.1 as a nameserver before any other nameservers. This helps to resolve the .dev domains much faster.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top