PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, February 18, 2022

[FIXED] Why are my MAMP PRO local dev sites slow in Firefox & Chrome?

 February 18, 2022     localhost, macos, mamp, osx-lion     No comments   

Issue

I can't work out why when viewing local sites that I've given a virtual (.dev) host name to are so slow in Firefox & Chrome... but not in Safari. It takes about 5 seconds to load each page in FF & C... but is absolutely instant every time in Safari.

Does anyone have any ideas I could try. It would be most appreciated?


Solution

None of the above worked but this did!! At last....

To fix, in your hosts file you need to list all your local dev sites in a space delimited row like so...

127.0.0.1 localhost localsite1.dev localsite2.dev localsite3.dev

Instead of one entry on each line as is the default.

I don't know the technical reason why this works but it does. It's a huge relief after six months of having to debug websites outside of preferred browser.



Answered By - markstewie
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing