ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Site Performance

July 13, 2009 10:17pm

Subscribe [2]
  • #1 / Jul 13, 2009 10:17pm

    usmangroup

    14 posts

    I setup a clients Expression Engine site on a GoDaddy Linux hosting plan (running PHP as CGI). The client feels that the site is responding slowly. I explained that GoDaddy is not known for their hosting and that to resolve this they would need to change vendors. Well, I guess they spoke to them and GoDaddy is claiming that there are issues with the setup. I’m suppose to have a conference call with the client tomorrow. A couple of things…

    1. I don’t know how anyone at GoDaddy can have “substantial” knowledge of Expression Engine when they don’t even support it. I’ll find out tomorrow what they’ve told the client.

    2. I’ve hosted Expression Engine through other hosting vendors and the sites respond quickly.

    So, my questions…

    1. Has anyone had experience with GoDaddy hosting and poor performance?
    2. What can I do to optimize site performance?

    Thanks for the help…

  • #2 / Jul 13, 2009 10:29pm

    Greg Aker

    6022 posts

    Honestly, I would never host with GoDaddy or any ‘big box’ hosting comapny.  Along with most like that, their first response into an inquiry about a slow site is, “it’s not our problem your site is slow, you are running ExpressionEngine, WordPress, Drupal, Joomla, etc”.  Doesn’t matter what the framework or CMS is, it’s a pretty stock response.  Personally, I’d never choose to host in a place that’s running Apache as a CGI and not under mod_apache.  Big box hosts are there to sell as many hosting accounts as they can, and support kind of seems to be an afterthought. 

    If you know servers, know how to tune your own, yes, you can setup a dedicated server or VPS, but for most people that’s a pain & not something they want to do.  Granted we are sister companies, however, if you are looking for wicked fast load-balanced servers, a good hosting environment & real support, look at EngineHosting.

    All of that being said, you can use the disable parameter on your entries tags, make sure you aren’t doing deep embedding, not running a ton of entries loops on every page and importantly, not nesting EE tags.

    regards,

    -greg

  • #3 / Jul 13, 2009 10:33pm

    usmangroup

    14 posts

    Greg,

    Thanks for the quick response. With a quick review, do you see anything wrong in the attached code that would hinder performance?

    {embed="embeds/html_header" my_page_title="About"}
    <body>
        <div id="main_container">
            {embed="embeds/main_nav"}
            <div id="content">
            <div id="col_main"><div id="subpage_header"><span class="sectionheader">About Us</span></div><div id="subcontainer">
               {exp:weblog:entries weblog="about" disable="categories|member_data|pagination|trackbacks" url_title="overview" }
                      <span class="subheader">{title}</span> 
                                  {page_body}
               {/exp:weblog:entries}
    </div></div>
                <div id="col_side">
                    <div class="bucket"><span class="bucket_title">explore</span>
                        <ul>
                        {exp:weblog:entries weblog="sidebar" disable="pagination|categories|member_data|trackbacks" url_title="about_us_side_bar" dynamic="off"}
                            {section_nav}
                    {/exp:weblog:entries}
                       </ul>
                    </div>
                    <div class="side_banner"><a href="http://{path=contact/index}">{site_url}/images/themes/side_banner.jpg</a></div>
                    <div class="bucket_bottom"><span class="bucket_title">industries we serve</span>
                        <ul>
                                    {exp:weblog:entries weblog="sidebar" disable="pagination|categories|member_data|trackbacks" url_title="about_us_side_bar" dynamic="off"}
                                         {sidebar_links}
                                    {/exp:weblog:entries}
                        </ul>
    
                    </div>
                </div> 
                <div class="clear"></div>
                </div>
                 <div class="clear"></div> 
                       {embed="embeds/footer"}
            </div>
    </body>
    </html>
  • #4 / Jul 13, 2009 10:40pm

    Greg Aker

    6022 posts

    Not off the top of my head.  Turn on template debugging & display sql queries.  copy it into a zip file & attach to your post.  Let’s see what that looks like.

    -greg

  • #5 / Jul 13, 2009 10:53pm

    usmangroup

    14 posts

    Greg,

    Hopefully you can read this.

    Thanks!

  • #6 / Jul 13, 2009 11:22pm

    Greg Aker

    6022 posts

    What do you have going on in your embeds?

  • #7 / Jul 14, 2009 9:30am

    usmangroup

    14 posts

    Here is what’s in the embeds…

    html_header

    {assign_variable:my_weblog="site"}
    {assign_variable:my_template_group="site"}
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html >
    <head>
    <title>{site_name} | {embed:my_page_title}</title>
    <meta http-equiv="Content-Type" content="text/html; charset={charset}" />
    
    <link rel='stylesheet' type='text/css' media='screen' href='{stylesheet=site/style}' />
    
    </head>

    main_nav

    <div id="header">
                <div id="logo"><a href="http://{homepage}">{site_url}/images/themes/logo.jpg</a></div>
                <div id="main_nav">
                    <ul>
                    <li><a href="http://{path=about/index}">About Us</a></li>
                    <li><a href="http://{path=solutions/index}">Solutions</a></li>
                    <li><a href="http://{path=training/index}">Training</a></li>
                    <li><a href="http://{path=clients/index}">Clients</a></li>
                    <li><a href="http://{path=%27contact/index%27}" class="last">Contact</a></li>
                    </ul>
                </div>
            </div>


    footer

    <div id="footer"><div id="saplogo"><a href="http://www.sap.com/usa/index.epx">{site_url}/images/themes/saplogo.jpg</div>_                    <ul id="links">_                                                <li><a href="{homepage}">Home</a></li>
                            <li><a href="http://{path=about/index}">About Us</a></li>
                                                    <li><a href="http://{path=solutions/index}">Solutions</a></li>
                                                    <li><a href="http://{path=training/index}">Training</a></li>
                                                    <li><a href="http://{path=clients/index}">Clients</a></li>
                                                    <li><a href="http://{path=%27contact/index%27}" class="last">Contact</a></li>
                                            </ul>
                         {exp:weblog:entries weblog="misc_content" disable="pagination|categories|member_data|trackbacks" url_title="copyright" dynamic="off"}    
                         <div id="copyright">{page_body}</div>
                          {/exp:weblog:entries}
                    </div>
  • #8 / Jul 14, 2009 10:17am

    Sue Crocker

    26054 posts

    Everything looks fine on my end. As Greg said, Godaddy is not my first choice for hosting a site.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases