.local causes delay when using with browersync proxy

Since the introduction to .local domain in LBFW, when using gulp automation with browsersync proxy causes around 3-4sec delay during refresh after saving.

From the stackoverflow link , it seems to be caused by - Bonjour IPv6 lookups being issued for certain DNS lookups on .local domains. These IPv6 lookups create a timeout delay until the original IPv4 DNS lookup is issued.

Temp fix was to edit the hosts file with ::1 yourwebsite.local, hope the flywheel team can take a look in this for a better solution. Thanks!

1 Like

Interesting! Thanks for the heads-up and the link.

I’ve made a note to look into this ASAP.

2 Likes

It would be great to have a fix to this. Would it work for Local by Flywheel to add the IPv6 line to the hosts file as well as the IPv4 line?

@viewpointdigital,

Local 2.2.1+ includes this :slight_smile:

Please see Local by Flywheel 2.2.1 (Pre-release)

Awesome, thank you!