We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10988
    • 14 Posts
    Hi

    I’ve just installed Revo Beta 5 on my local machine and the manager performance is dreadful (1+ minute to load).

    Server Setup

    • Windows 7 Enterprise
    • Zend Server CE 4.0.5 (default settings except I’ve increased the max_execution_time to 120s)
    • Apache 2.2.12
    • PHP 5.2.10
    • MySQL 5.1.35-community

    Using Google Chrome and the resource monitor, I can see that the initial request to /manager/ has around 1 minute latency, meaning it’s taking the server 1 minute process the request and respond.

    I’m guessing this is a server configuration issue but can’t pinpoint what at this stage. Other apps that I’m developing (typically large Zend Framework applications) run without issue.
      • 10988
      • 14 Posts
      Think I may have worked out the issue.

      I’m behind a Squid proxy server which requires authentication. The MODx manager attempts to fetch the RSS feed from http://feeds.feedburner.com/modx-announce which doesn’t work as my server has no notion of the proxy.

      Shouldn’t the fetching of RSS feeds be delegated to the client (browser)?
        • 22303 MODX Staff
        • 10,725 Posts
        Just remove the values for the settings feed_modx_news and feed_modx_security and it will not try to retrieve these RSS feeds.
          • 32699 ☆ A M B ☆
          • 427 Posts
          You can also adjust your squid to let localhost bypass the proxy.

            Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

            Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com
            • 10988
            • 14 Posts
            Quote from: wshawn at Dec 17, 2009, 05:55 AM

            You can also adjust your squid to let localhost bypass the proxy.

            Think "corporate network". The blunt answer is "no, I can’t".

            Having the server retrieve the feeds just does not sit right with me. Imagine a large site with hundreds of people accessing the manager. For each visit, the server is chewing up "hosting" bandwidth fetching the feeds and the page is delayed until the feeds either return or timeout.

            The simple answer is to use a client-side solution such as FeedBurner’s "BuzzBoost".

            If this is absolutely not an option, at least load the RSS feeds via an asynchronous call to a dedicated script so the rest of the manager home page becomes usable.
              • 32699 ☆ A M B ☆
              • 427 Posts
              "Corporate Network"

              OK.. That means the webserver is in the DMZ and not inside the proxy or behind the "corporate firewall" and has its own firewall and load bearing system in place. wink

              In any case, those feeds should probably ONLY be going to the main admin and you can disable their inclusion in the context you define for the manager users.

              You can also simply change those feeds by disabling them in the system settings.
                Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

                Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com