Related pages:

By default, the JavaScript Agent limits the Ajax requests sent for base or virtual pages to 50. Although base or virtual pages normally do not send large amounts of Ajax requests, in some cases, a page may send redundant Ajax requests, especially those containing error reports.

For example, a series of redundant Ajax requests containing a dead loop of errors and exceptions with no new information could overload the EUM Server. To prevent an overload of Ajax requests, you can configure the JavaScript Agent to limit the number of Ajax requests sent for base and virtual pages.

The code example below limits the number of Ajax request per base or virtual page to 7.

<head>
   <script type="text/javascript">
      window["adrum-start-time"] = new Date().getTime();
      window['adrum-config'] = {
         xhr: {
            maxPerPageView: 7
         }
      };
      ...   
   </script>
   ...
</head>