Web Viewer very slow when running on Localhost

Problem

When connecting to Web Viewer that is installed at localhost, Web Viewer loads very slowly (can take 10-15 seconds per page) and each request takes a lot of time.

Solution

  1. First try to connect using 127.0.0.1 in stead of localhost (e.g. http://127.0.0.1/AssertWeb/...). This should improve the performance significantly.
  2. If step 1 improved performance significantly, please open the following file: C:\Windows\System32\drivers\etc\hosts in a text editor
  3. Add (or uncomment) the following line to the hosts file:
    127.0.0.1       localhost
  4. Save the file

Background

Localhost is normally without delay resolved to 127.0.0.1 (ipv4) or ::1 (ipv6). If you have both ipv4 and ipv6 enabled, the resolution of localhost may be slowed down. The entry in the hosts file will ensure an immediate resolution again.