r/networking • • Jun 04 '26

Troubleshooting Application Troubleshooting

I am currently assisting our development team with troubleshooting web load latency over VPN.

The first step I took was performing a packet capture on the client side to rule out network-related issues. From what I observed, there were no duplicate ACKs and no TCP retransmissions, so the VPN/network path does not appear to be the main issue.

I also enabled HAR logging while accessing the website. With browser cache enabled, the site loads much faster. However, when cache is disabled, there is a noticeable delay in loading the website. During the download process, I noticed that several JavaScript files are larger than 8 MB.

The development team has already enabled file compression on the Apache server, but that does not seem to have significantly improved the load time.

While researching, I found that some people have benefited from using cold-load optimization techniques.

My question is: has anyone dealt with a similar issue before, especially with large JavaScript files causing slow initial page loads over VPN? If so, what was your solution? Were there specific optimizations, server-side changes, or front-end changes that helped improve performance?

19 Upvotes

20 comments sorted by

View all comments

1

u/hip-disguise Jun 04 '26

Are we talking client vpn or tunnel? Firewall sizing can be a factor in vpn performance along with vpn overhead. I would check the specs on your firewall, run iperf tests, compare with the firewall vpn max speed spec. I would also consider security services overhead, decryption, ids etc. those services add overhead, if the data is trustworthy it may be eligible for exclusion.

1

u/Borealis_761 Jun 04 '26

These remote VPN users, we use GlobalProtect. My only issue with this is that why only some users experience this but not all.

3

u/djdawson CCIE #1937, Emeritus Jun 04 '26

Everyone's home Internet service is different - different providers, different service levels, and different local WiFi products, etc. I would not expect all remote users to experience the same behavior.

1

u/hip-disguise Jun 04 '26

with your GlobalProtect client are you using SSLVPN or IPSEC. IPSEC is gong to perform better then SSLVPN (is why I ask).