Page 1 of 1

Overall site slow loading times

Posted: Tue May 17, 2011 11:33 pm
by Rabel
My site is running very slowly and it appears that each page is completely reloaded each time or something.

http://philanoma.org/

Even the background takes a second or two to pop in each time. Please let me know what i can do to fix this.

Thanks,
Randy

Re: Overall site slow loading times

Posted: Tue May 17, 2011 11:38 pm
by calguy1000
The first thing you should do is follow forum rules and PROVIDE INFORMATION FOR US TO BE ABLE TO HELP YOU.

Re: Overall site slow loading times

Posted: Wed May 18, 2011 1:31 am
by Wishbone
Looks fast to me.. a second or two. Background is slow when I refresh, since it's reloading, but when I click on your logo to go to the home page, it's fast.

You're using an unsupported version of CMSMS, BTW.

Re: Overall site slow loading times

Posted: Wed May 18, 2011 4:56 pm
by Rabel
Sorry Calguy. Most of the forums i go to dont help you unless you post a link, I forgot.

Thanks Wishbone,
it is a little slower than that sometimes but shouldnt the bg pretty much be instant since it is already in the cache. Is there something in the way that cmsms generates the new pages.

I was thinking it had to do with something in my coding, i was just hoping that I could get a little more speed out of it. Im a little lost here - any ideas.

Thanks,
Randy

Re: Overall site slow loading times

Posted: Wed May 18, 2011 8:24 pm
by Jos
I guess a layout in html-tables and especially this kind of code does not improve loading speed...
<td><img src="images/spacer.gif" width="20" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="12" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="38" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="5" height="1" border="0" alt="" /></td>

<td><img src="images/spacer.gif" width="4" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="15" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="72" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="16" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="44" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="23" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="120" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="56" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="39" height="1" border="0" alt="" /></td>

<td><img src="images/spacer.gif" width="18" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="13" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="5" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="24" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="20" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="3" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="3" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="5" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="27" height="1" border="0" alt="" /></td>

<td><img src="images/spacer.gif" width="19" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="42" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="17" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="52" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="11" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="43" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="10" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="30" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="10" height="1" border="0" alt="" /></td>

<td><img src="images/spacer.gif" width="56" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="7" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="54" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="12" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="9" height="1" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt="" /></td>

Re: Overall site slow loading times

Posted: Wed May 18, 2011 8:36 pm
by Rabel
Thanks jos,
Yes using tables is not ideal, but there is no slowness issue if the template is removed from cmsmadesimple.
I doubt a 990x1 px wide spacing gif is causing the issue.

Re: Overall site slow loading times

Posted: Wed May 18, 2011 8:58 pm
by Jos
guess you are right ;)

I tried to load some pages of your site without the frameset, so directly to e.g. http://creativeness.com/cmsmadesimple/i ... membership
I think your site loads much faster that way...

Re: Overall site slow loading times

Posted: Wed May 18, 2011 9:30 pm
by Rabel
I havent noticed a difference in the speed without the frames. The normal url web address is a web forward with network solutions.
Do you think that this is slowing it down.

Re: Overall site slow loading times

Posted: Wed May 18, 2011 9:52 pm
by uniqu3
You should optimize some issues first.
Look at speed check http://www.webpagetest.org/result/110518_YS_MRBZ/

Redirecting takes 0.206 s this should not be that huge issue.

Re: Overall site slow loading times

Posted: Wed May 18, 2011 10:22 pm
by Rabel
Thanks uniqu3,
very interesting site, why would a 55 kb page on reload take over 3.5 sec.

Re: Overall site slow loading times

Posted: Wed May 18, 2011 11:02 pm
by Rabel
I also got this from the debug
Generated in 0.582892 seconds by CMS Made Simple using 11 SQL queries and 0 bytes of memory (peak memory usage was 0)
Debug: (0.015613)

loading smarty

Debug: (0.021457)

loading adodb

Debug: (0.024271)

loading page functions

Debug: (0.028469)

loading content functions

Debug: (0.032345)

loading pageinfo functions

Debug: (0.033867)

loading translation functions

Debug: (0.034673)

loading events functions

Debug: (0.036634)

loading php4 entity decode functions

Debug: (0.039317)

done loading files

Debug: (0.212636)

<br>
(mysql): SET NAMES 'utf8'<br>
Error (0): <br>

Debug: (0.213829)

<br>
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs<br>
Error (0): <br>

Debug: (0.229979)

<br>
(mysql): SELECT * FROM cms_userplugins<br>
Error (0): <br>

Debug: (0.240237)

<br>
(mysql): SELECT * FROM cms_modules WHERE admin_only = 0 AND active = 1 ORDER by module_name<br>
Error (0): <br>

Debug display of 'End of include':(0.285071)
Debug display of 'Load Content Operations':(0.285898)
Debug display of 'End Load Content Operations':(0.299661)
Debug: (0.300724)

<br>
(mysql): SELECT content_id FROM cms_content WHERE default_content = 1<br>
Error (0): <br>

Debug: (0.30139)

<br>
(mysql): SELECT c.content_id, c.content_name, c.content_alias, c.menu_text, c.titleattribute, c.hierarchy, c.metadata, c.id_hierarchy, c.prop_names, c.create_date AS c_create_date, c.modified_date AS c_date, c.cachable, c.last_modified_by, t.template_id, t.encoding, t.modified_date AS t_date FROM cms_templates t INNER JOIN cms_content c ON c.template_id = t.template_id WHERE (c.content_alias = '63' OR c.content_id = '63') AND c.active = 1<br>
Error (0): <br>

Debug: (0.301837)

<br>
(mysql): SELECT MAX(modified_date) AS thedate FROM cms_content c<br>
Error (0): <br>

Debug display of 'Start Loading Hierarchy Manager':(0.302315)
Debug display of 'starting tree':(0.302385)
Debug: (0.305995)

file needs loading

Debug display of 'ending tree':(0.309196)
Debug display of 'End Loading Hierarchy Manager':(0.309307)
Debug: (0.309366)

start findNodeByTag

Debug: (0.309445)

end findNodeByTag

Debug: (0.309993)

<br>
(mysql): SELECT * FROM cms_content WHERE content_id = '63'<br>
Error (0): <br>

Debug: (0.314258)

load from data is loading properties

Debug: (0.314352)

load properties called

Debug: (0.315088)

<br>
(mysql): SELECT * FROM cms_content_props WHERE content_id = '63'<br>
Error (0): <br>

Debug: (0.329819)

<br>
(mysql): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates WHERE template_id = '28'<br>
Error (0): <br>

Debug: (0.389517)

<br>
(mysql): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
INNER JOIN cms_events e ON e.event_id = eh.event_id
ORDER BY eh.handler_order ASC<br>
Error (0): <br>

Debug: (0.416505)

start findNodeByTag

Debug: (0.416609)

end findNodeByTag

Debug: (0.457953)

start findNodeByTag

Debug: (0.458046)

end findNodeByTag

Debug: (0.463541)

start findNodeByTag

Debug: (0.46361)

end findNodeByTag

Debug: (0.469041)

start findNodeByTag

Debug: (0.469113)

end findNodeByTag

Debug: (0.474245)

start findNodeByTag

Debug: (0.474316)

end findNodeByTag

Debug: (0.479454)

start findNodeByTag

Debug: (0.479527)

end findNodeByTag

Debug: (0.483967)

start findNodeByTag

Debug: (0.484034)

end findNodeByTag

Debug: (0.488556)

start findNodeByTag

Debug: (0.488623)

end findNodeByTag

Debug: (0.493475)

start findNodeByTag

Debug: (0.493696)

end findNodeByTag

Debug: (0.515304)

calling module TinyMCE from event ContentPostRender

Re: Overall site slow loading times

Posted: Thu May 19, 2011 12:09 am
by Wishbone
Your database is too slow.. Shouldn't take a 1/4 second to do individual simple commands, like I see in your logs. Most of my websites generate the entire page in 1/4 second.. Total page load is higher (2 or 3 seconds), due to transmission time. (internet slowness)