Jump to:

518 Posts in 248 Topics by 261 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » Does anyone else find the admin section in 2.3 slow...

Forum for content editors and CMS users.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1733 Views
  • Ryno in Stereo
    Avatar
    Community Member
    8 Posts

    Does anyone else find the admin section in 2.3 slow... Link to this post

    Hey there,

    I've been experimenting with the 2.3 builds over the past month and maybe it's just my hosting provider but everything seems to take a long time to load (I'm talking 30 seconds for a page to load after clicking on it)

    I've just used Firebug to tell me how long everything is taking to download and the admin page took 42 seconds to get a response! Does anyone have any tips about what could be causing such a lag?

  • jam13
    Avatar
    121 Posts

    Re: Does anyone else find the admin section in 2.3 slow... Link to this post

    I actually find the admin in 2.3 to be much faster than in earlier versions. Have you got a large number of pages in your site?

  • Ryno in Stereo
    Avatar
    Community Member
    8 Posts

    Re: Does anyone else find the admin section in 2.3 slow... Link to this post

    No, not even 20 yet?

    I've gotten the host to move us to a different server and while that has made a difference, it's still pretty slow.

    I'll try some other hosts as your comments lead me to believe maybe the client's provider has that wonderful tendency to overload their servers.

    Any tips on improving performance?

  • alirobe
    Avatar
    Community Member
    35 Posts

    Re: Does anyone else find the admin section in 2.3 slow... Link to this post

    The problem is firebug. Turn it off by right clicking the shortcut button in the status bar and clicking suspend. It will turn back on regularly.

    This is actually quite a serious problem with firebug. There is no meta tag that I'm aware of to turn it off, and as it doesn't detect subdirectories, you can't automagically tell it to turn off when accessing the CMS.

    The bit that slows it down the most is the net monitoring. However, others also slow it down substantially. You can disable this by opening firebug, clicking the net tab, and clicking the little down button that appears on that tab.

    I actually came to this forum to suggest some sort of bug fix, but I can't see how it would be done. One trick would be to map the admin directory to a subdomain, which would allow you to turn it off in firebug. Another trick would be to notify the user using JS (see http://groups.google.com/group/firebug/browse_thread/thread/7ca276009609f63e ), but I don't see how notifying the user would be useful. There is also a method for turning some of it off, but it doesn't turn of all of firebug (just the console bit? - see http://davidwalsh.name/how-to-sniff-firebug-disable ).

    Code for notifying users in JS

    <script type="text/javascript">
    if(typeof(window.console) != "undefined") /* Firebug console is defined - so firebug is active. */
    {alert("Firebug is active. This may affect CMS performance. Please right click the firebug logo in the status bar and click suspend. For more information visit our wiki.")}
    </script>


    Code for turning off Firebug

    if (! ('console' in window) || !('firebug' in console)) {
    var names = ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'];
    window.console = {};
    for (var i = 0; i < names.length; ++i) window.console[names] = function() {};
    }
    }

    1733 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.