Community

Performance Issues - Advice or Suggestions

My site is loading so extremely slow and am wondering what could be the problem. I kind of have an idea that it may be the theme I am using.. but I am not an expert at this and I am not sure. I am using Zen and when I look at my source code it looks like there is a HUGE AMOUNT of CSS, http requests and other code that is being called, and if that is the case, how can I reduce a lot of it to maybe make my site load faster?

Is there someone out there who would be kind enough to have a look at my home page or site and see what could be causing such a slow loading time. I am also using two Views - the top is using using the Views Slideshow and the content beneath it is also using a View.

Well thanks Drupal community, I have learned a lot so far and really appreciate all the help I have gotten so far. :)

My site is HERE

Comments

the 64 million dollar

the 64 million dollar question.... who are you hosting with?

Hey ludo. oh, umm Godaddy. :)

Hey ludo. oh, umm Godaddy. :) Is that good or bad? lol. We have another site with them and it loads fast...

GoDaddy

I also have sites on GoDaddy. Some are slow and others are fast. You might contact them and make sure you are getting hosted on their faster GRID environment. The hosting seems to be much better there.

Hmm, okay. Well this is for a

Hmm, okay. Well this is for a client so I will need to get with them and see about that. But do you think that that could be the main reason? I mean I'm a little concerned about the content and theme I'm using. It looks like there are so many things to call before my homepage can even load. But yet I know a lot of people use Zen and Views.

Theme issues

The problem might be related to the theme. Did you change the CSS handling in the theme?

I see some odd HTML source such as

<!DOCTYPE html>
<!--[if IEMobile 7]><html class="iem7"  lang="en" dir="ltr"><![endif]-->
<!--[if lte IE 6]><html class="lt-ie9 lt-ie8 lt-ie7"  lang="en" dir="ltr"><![endif]-->
<!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8"  lang="en" dir="ltr"><![endif]-->
<!--[if IE 8]><html class="lt-ie9"  lang="en" dir="ltr"><![endif]-->
<!--[if (gte IE 9)|(gt IEMobile 7)]><!--><html  lang="en" dir="ltr"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"

This should not be in the DOCTYPE

and lots of this:

  <style>@import url("http://ameripolish.com/ampol/modules/system/system.base.css?m5aisb");
@import url("http://ameripolish.com/ampol/modules/system/system.messages.css?m5aisb");
@import url("http://ameripolish.com/ampol/modules/system/system.theme.css?m5aisb");</style>

Have you set the configuration on the Performance page (/admin/config/development/performance)?
You should check :
Aggregate and compress CSS files
Aggregate JavaScript files

BTW, the link isn't working correctly. Should be http://ameripolish.com/ampol/ .

Hey Scott. Yeap the code you

Hey Scott. Yeap the code you posted is what I am concerned about. I am not sure why it is there. I followed the instructions for creating a sub theme with Zen and I guess it's .info file just puts it there. I have not changed the CSS handling in the theme as I'm not really sure where that is but I can research I if need to.

Also, I did a week ago check the Aggregate CSS files and Javascript and it does fix the issue in IE8 which I know is an issue with Zen since it uses more than 31 stylesheets. But when I check that it changes or creates different paths to my CSS.

For instance it changes it like this "css_FEkejkJEkjjkdjkEEFjkeke434jk3j4k3jkj.css". So if I am using Firebug to make edits I don't know what css file to actually edit anymore. Can you please please help?? I don't know what else to do. I have a feeling it is the sub theme.. but I can of course also contact Godaddy to see if they can do anything.

Right now Aggregate and Compress CSS and Javascript is check and now when I look at source code the majority of the "import css" are gone. And it does seem to load a little fast now....

Aggregate CSS

Aggregate CSS does rewrite all of the CSS into one CSS file with that strange name. That is what is it is supposed to do. You shouldn't use it if you are still developing or modifying CSS. But you should also probably develop on your local machine, not on a live site. ;-)

So, I don't think it is Zen or the subtheme. But I would check with GoDaddy. You will need to push them a little. They will probably say it is Drupal, etc. Ask to be moved to the grid or a faster machine. Also, depending on what the site means to the business, it might make sense to pay more and get on a better hosting plan.

Hey Scott,Well that is

Hey Scott,

Well that is actually my test site that I am working on. The link that I put here. Hmm, okay I will contact Godaddy and see what they say. Right now, I think the hosting meets their needs. Not a whole lot of bells and whistles... but like you said it wouldn't hurt just to see if we could get on the grid. I'm also going to switch themes and see what happens.

Hi

Question 1
what is the current size of your database. If it is large, clear your watchdog table, access log table and cache tables

Question2
Can you access you php.ini file? if you can follow this link
http://www.expresstut.com/content/solving-drupal-performance-problem

Hey Owoyemi, I believe my

Hey Owoyemi, I believe my database has about 140 some tables... But that seems pretty standard with a Drupal setup and all the modules that come with it and that are installed to enhance it. I'm not really to great with databases but I will DEFINITELY look into your suggestions in question 1.

Also, I have not had a chance to look at 2 but will definitely do that also and report back.

Thanks so much!!!