so cannot be your internet connection...
TBH, I can't find any answear for you, the only thing that can cause lag freezes are:
Internet speed, a big script that's looping every x(x) time, Low ram (512mB), someone else who downloading in your network, virus, too many applications running.
These are the Normal issues to have lags (From my view point).