locked
IAG very slow when response contains many hyperlinks RRS feed

  • Question

  • I have a sharepoint page that contains many hyperlinks to external web sites.  When the page is accessed via our production IAG server it takes a couple of minutes for IAG to respond.  The delay appears to be due to IAG taking a long time to parse the response.  If I strip out the hyperlinks the response becomes very quick.  In our test environment the response to the page with the hyperlinks is only a few seconds.

    There must be something different between production IAG and test IAG but I can't spot anything obvious.

    What could be causing the problem?

    We're using SharePoint 2007 backward compatibility.

    Regards,
    Steve.

    Tuesday, June 15, 2010 2:58 PM

Answers

  • I'm afraid you cannot bypass the check completely. If you are unable to speed up the DNS servers, you could work around that by adding these hostnames to a HOSTS file on the server, though that may be a problem in the long run, should the IPs change.


    Ben Ari
    Microsoft CSS IAG Support
    Sammamish, WA
    • Marked as answer by Erez Benari Tuesday, June 29, 2010 7:01 PM
    Tuesday, June 29, 2010 7:01 PM

All replies

  • IAG does indeed parse links in pages, and that could take time. Does your page include an extraodrinarily large number of links?
    Ben Ari
    Microsoft CSS IAG Support
    Sammamish, WA
    • Marked as answer by Erez Benari Wednesday, June 16, 2010 11:36 PM
    • Unmarked as answer by S Lang Thursday, June 17, 2010 7:48 AM
    Wednesday, June 16, 2010 11:36 PM
  • Hi Ben,

    I've simplified the page to only 5Kb with 10 external hyperlinks.  IAG is taking over 30 seconds to parse the response.  The same page in our test environment takes only a couple of seconds.

    From the trace logs we've discovered IAG is trying to translate the hostnames in the URLs into IP addresses.  It is taking up to 4 seconds per hostname.  I guess there must be a problem with our DNS server.  Our infrastructure team is currently looking at this.

    Is IAG doing the IP lookup to determine if it has to protect/sign the URLs?  Can IAG be configured to bypass the check for specific server's, e.g. again match '*\.com'?

    Regards,
    Steve.

    Thursday, June 17, 2010 8:03 AM
  • I'm afraid you cannot bypass the check completely. If you are unable to speed up the DNS servers, you could work around that by adding these hostnames to a HOSTS file on the server, though that may be a problem in the long run, should the IPs change.


    Ben Ari
    Microsoft CSS IAG Support
    Sammamish, WA
    • Marked as answer by Erez Benari Tuesday, June 29, 2010 7:01 PM
    Tuesday, June 29, 2010 7:01 PM