Take a look at my devlogs for my game. I go into detail about the lag issues I encountered with the web build, and what I did to fix them. If you have questions I'd be happy to answer them. Also, the Godot Forums are a good place to get questions like that answered in the future. We are a very helpful and knowledgeable community.