For some reason, my main menu is making my site hang when a page loads. It hangs for 30-60 seconds whenever you load a page. I am not sure if it is because of the size of the menu, or because it's a suckerfish style menu, or if it's the swmenu module I am using to get the suckerfish style onto the menu. Has anyone else had this problem and figured out what was causing it?
I've tried it with a few different templates, started with elixir, it's now on vortex. The site is cleanmywater[dot]us. I know it's the main menu because I removed all of the modules and loaded the site and it loaded very fast, then I replaced all of the modules 1 by 1 and it started hanging again when I published the swmenu module that has the main menu in it. Then I set the site back up exactly the same as it was before, and only unpublished the swmenu module, and it didn't hang at all, but when I published the module again, the hanging was back. So it is definitely the menu, not sure if it's the menu itself, the sucker fish style of the menu, or the fact that I am using the swmenu module to create the sucker fish style however.
Does anyone have any suggestions for me to try to speed up the site? The hanging is really annoying, it freezes up my entire computer for about 10 seconds. I am willing to try any and all suggestions, so let them come:)
So when you went to cleanmywater[dot]us, your computer or browser didn't hang? The typical thing that happens for both my coputer and my bosses computer, and any other computer we've tried, is that the site loads, that takes about 2 seconds...then the page freezes so that you cannot move at all on the page, and that hangs for 10-12 seconds, then it is released and you can browse normally. This happens whenever you go to any page however, so it's gotten to be a problem. If it onlyhappened on the frontpage, that would be dealable, however, it is not just on the front page, anytime you click a link to go to another page of the site, you have to deal with it again. From what I've seen, it's also not only a hanging of the page or browser, but it freezes my entire computer until the site fully loads. So say I am watching a movie or something, and refreshing a page on the site...if I try to click back to the movie, I just have a blank white spot for about 10 seconds until the site fully loads.
1) you are using a very image-rich template;
2) your html generated is almost 200kb alone (most of which is menu code)
So, there's one hell of a lot of data loading for each page. I'll bet that its a combination of the image-heavy template and that massive menu that's causing your problem.
Just look at the page source and you'll see what I mean!
Something else going on there, don't know what it is though. Run your task manager and browse your site. Watch your CPU. On my slower machine, after the page loads my CPU goes to 100% (and that's when it's pausing/hanging). Funny this is it happens after the page loads.
Yea, I did that because I wasn't sure if I needed it on the top or bottom to work properly with recording my transactions. I pulled out the bottom one though, to see if that was causing the hanging, but it didn't change anything...I was REALLY hoping that was it though!LOL