Trellis + browsersync proxy = slow


#1

Hello,

Accessing my site using trellis and browsersync is very slow. It seems to be because of browsersync proxy since it is normally fast when I reach it directly with http://roots-example-project.dev.

I tested the same with scotchbox and did not notice any issues. It seems to be something with trellis.

Any help would be appreciated.

Thanks

Fred


#2

Are you running Node/BrowserSync on the Trellis box? If so — don’t do that, run it on your host machine.


#3

I’m running it on the host. That’s not the issue. I’m pretty sure it used to work fine.

I’ll try to setup an earlier version of trellis to get to the bottom of it.


#4

So here is what I tried so far :
Trellis 0.9.3, Trellis 0.9.7, latest vvv and latest scotchbox.

Only when using scotchbox my browsersync is fast. It seems that the issue comes from nginx. Any ideas why ?


#5

I reinstalled Mac os X on an external drive and everything seems ok so far. I’m still investigating …


#6

Really curious if you found the issue yet. I’m experiencing exactly the same.