4

我正在连接到 VPN,因此我可以在家工作,但是当我打开小的 ASPX 文件并进行细微更改并保存它们时,速度非常慢。

即使做一些简单的事情,比如单击文件中的不同行来移动光标,也会明显滞后。

这是一个已知问题,还是我 99% 怀疑这只是网络连接问题。我没想到会这么慢。

4

1 回答 1

2

Working with files over a VPN will be slow, as Visual Studio will be tracking changes in that file while it is open.

  1. Try disabling 'Track Changes' in Visual Studio, under Text Editor section in options.
  2. Failing that, you should copy the files to your local machine and work from there, when finished copy back. You can use the folder to sort by last modified to make it easier to find the edited files when you copy back.
  3. Ideally, when working with remote codebases, you should use a repository rather than flat file storage. Something like GIT or SVN, and then 'push' your code changes back.

Track Changes Option

In any case, working over VPN always is always slow. Check VPN settings (compression, multilink), perhaps map the remote folder to a network drive, turn of 'use default gateway' on the VPN connection itself; these are methods I use to speed up VPN performance in general.

于 2011-10-06T17:23:48.883 回答