My p5 script takes a lot of time to start on server

So the problem is that when I run my web page with p5 sketch in my PC it takes no time to run and when I try to get into my web page it takes a lot of time. I’m using defer parsing to load p5 scripts and they are the first thing loaded so I think is more of a problem of executing sketch script rather than connection problems.

I’ve got no idea of where to start. I’m sorry if I don’t know about this kind of stuff, I’m a C++ video game programmer I don’t know almost anything about networks.

Thank You Guys