<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 12/17/2013 08:26 PM, Kevin Falcone wrote:
    <blockquote cite="mid:20131217192651.GB1977@jibsheet.com"
      type="cite">
      <pre wrap="">On Tue, Dec 17, 2013 at 03:53:36PM +0000, Marius Flage wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">   I have exactly the same problem. I've investigated the loading of the page with the
   WYSIWYG-editor and got the following results:

   [1]<a class="moz-txt-link-freetext" href="http://s22.postimg.org/wqo1j42r5/wysiwyg.png">http://s22.postimg.org/wqo1j42r5/wysiwyg.png</a>

   Maybe this will help debugging this further?

   After the initial load the future loads of that js will be cached and therefore much slower.
   And after the cache expiry (typically the next workday) you have to wait for another 30
   seconds to get the WYSIWYG editor back up again.
</pre>
      </blockquote>
      <pre wrap="">
While this confirms that something is taking a long time to load, the
consistent 15 seconds on each request is quite odd, especially since
larger files take mere milliseconds to download.

Are you using JSMin?  How is your RT configured, etc, etc.
If you can replicate these timings on issues.bestpractical.com it
would be interesting.
</pre>
    </blockquote>
    I have the following output from Chromium's network headers when
    loading ckeditor.js. When refreshing the page (F5) this timeout of
    15 seconds occurs. You see the Keep-Alive is set to timeout=15, what
    does that mean?<br>
    <br>
    <ol class="outline-disclosure" tabindex="0" style="box-sizing:
      border-box; list-style-type: none; -webkit-padding-start: 12px;
      margin: 0px; outline: none; color: rgb(48, 57, 66); font-family:
      Ubuntu, Arial, sans-serif; font-size: 12px; font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      line-height: normal; orphans: auto; text-align: start;
      text-indent: 0px; text-transform: none; white-space: normal;
      widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">
      <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
        14px; margin-top: 1px; margin-left: -2px; word-wrap:
        break-word;">
        <div class="header-name" style="box-sizing: border-box; color:
          rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
          font-weight: bold; vertical-align: top; white-space:
          pre-wrap;">Request URL:</div>
        <div class="header-value source-code" style="box-sizing:
          border-box; font-family: 'dejavu sans mono', monospace;
          white-space: pre-wrap; font-size: 11px !important; display:
          inline; margin-right: 100px; word-break: break-all;
          margin-top: 1px;"><a class="moz-txt-link-freetext" href="http://RT-site/static/RichText/ckeditor.js">http://RT-site/static/RichText/ckeditor.js</a></div>
      </li>
      <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
        14px; margin-top: 1px; margin-left: -2px; word-wrap:
        break-word;">
        <div class="header-name" style="box-sizing: border-box; color:
          rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
          font-weight: bold; vertical-align: top; white-space:
          pre-wrap;">Request Method:</div>
        <div class="header-value source-code" style="box-sizing:
          border-box; font-family: 'dejavu sans mono', monospace;
          white-space: pre-wrap; font-size: 11px !important; display:
          inline; margin-right: 100px; word-break: break-all;
          margin-top: 1px;">GET</div>
      </li>
      <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
        14px; margin-top: 1px; margin-left: -2px; word-wrap:
        break-word;">
        <div class="header-name" style="box-sizing: border-box; color:
          rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
          font-weight: bold; vertical-align: top; white-space:
          pre-wrap;">Status Code:</div>
        <div class="header-value source-code" style="box-sizing:
          border-box; font-family: 'dejavu sans mono', monospace;
          white-space: pre-wrap; font-size: 11px !important; display:
          inline; margin-right: 100px; word-break: break-all;
          margin-top: 1px;">200 OK</div>
      </li>
      <li title="" class="parent expanded" style="box-sizing:
        border-box; padding: 0px 0px 0px 14px; margin-top: 1px;
        margin-left: -12px; word-wrap: break-word; -webkit-user-select:
        none; font-weight: bold;">Request Headers<span
          class="header-toggle" style="box-sizing: border-box; display:
          inline; margin-left: 30px; font-weight: normal; color:
          rgb(115, 115, 115);">view source</span></li>
      <ol class="children expanded" style="box-sizing: border-box;
        position: relative; margin: 0px; cursor: default; min-width:
        100%; padding: 2px 6px !important; list-style-type: none;
        -webkit-padding-start: 12px; display: block;">
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Accept:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">*/*</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Accept-Encoding:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">gzip,deflate,sdch</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Accept-Language:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">en-US,en;q=0.8</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Cache-Control:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">max-age=0</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Connection:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">keep-alive</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Host:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">RT-site</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">If-Modified-Since:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">Wed, 27 Nov 2013 09:14:28 GMT</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Referer:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;"><a class="moz-txt-link-freetext" href="http://RT-site/">http://RT-site/</a></div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">User-Agent:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">Mozilla/5.0 (X11; Linux x86_64)
            AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95
            Safari/537.36</div>
        </li>
      </ol>
      <li title="" class="parent expanded" style="box-sizing:
        border-box; padding: 0px 0px 0px 14px; margin-top: 1px;
        margin-left: -12px; word-wrap: break-word; -webkit-user-select:
        none; font-weight: bold;">Response Headers<span
          class="header-toggle" style="box-sizing: border-box; display:
          inline; margin-left: 30px; font-weight: normal; color:
          rgb(115, 115, 115);">view source</span></li>
      <ol class="children expanded" style="box-sizing: border-box;
        position: relative; margin: 0px; cursor: default; min-width:
        100%; padding: 2px 6px !important; list-style-type: none;
        -webkit-padding-start: 12px; display: block;">
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Connection:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">Keep-Alive</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Content-Encoding:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">gzip</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Content-Length:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">452578</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Content-Type:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">application/javascript</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Date:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">Thu, 09 Jan 2014 09:20:09 GMT</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Keep-Alive:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">timeout=15, max=100</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Last-Modified:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">Wed, 27 Nov 2013 09:14:28 GMT</div>
        </li>
        <li title="" style="box-sizing: border-box; padding: 0px 0px 0px
          14px; margin-top: 1px; margin-left: -2px; word-wrap:
          break-word; white-space: nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Server:</div>
          <div class="header-value source-code" style="box-sizing:
            border-box; font-family: 'dejavu sans mono', monospace;
            white-space: pre-wrap; font-size: 11px !important; display:
            inline; margin-right: 100px; word-break: break-all;
            margin-top: 1px;">Apache/2.2.16 (Debian)</div>
        </li>
        <li title="" style="padding: 0px 0px 0px 14px; margin-top: 1px;
          margin-left: -2px; word-wrap: break-word; white-space:
          nowrap;">
          <div class="header-name" style="box-sizing: border-box; color:
            rgb(84, 84, 84); display: inline-block; margin-right: 0.5em;
            font-weight: bold; vertical-align: top; white-space:
            pre-wrap;">Vary:</div>
          <div class="header-value source-code" style="font-family:
            'dejavu sans mono',monospace; white-space: pre-wrap;
            font-size: 11px ! important; display: inline; margin-right:
            100px; margin-top: 1px;">Accept-Encoding</div>
        </li>
      </ol>
    </ol>
    <br>
    Any ideas? This is very annoying as it slows down RT.<br>
    <br>
    - Marius<br>
    <br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <br>
  </body>
</html>