Page 1 of 2

cmsmadesimple site too slow...

Posted: Wed Nov 15, 2006 5:19 pm
by alfredo
Hello,


I'm running latest cmsms version at http://spanishtranslation.ws/


But I notice site takes too long to load. It's not a hosting overload problem, I know that for sure.


Perhaps this has to do with the fact my php memory is only 8 MB ???


        Thanks in advance.

Re: cmsmadesimple site too slow...

Posted: Wed Nov 15, 2006 10:42 pm
by Pierre M.
Site too slow ? Performance problem ?
Join the club of the static pages : http://forum.cmsmadesimple.org/index.ph ... 678.0.html
It could be really cool if you help find a technical solution :-)

PM

Re: cmsmadesimple site too slow...

Posted: Thu Nov 16, 2006 1:19 am
by alfredo
I don't have the technical ability to solve this  :(


I turned a simple static site to cmsms, with great ease, planned to turn a bigger one too but now I don't know what to do ... :-\

cmsms looks and works great for the most part except for this...

Re: cmsmadesimple site too slow...

Posted: Thu Nov 16, 2006 2:41 am
by stevegan
I have the same issue that you do Alfredo. I posted about it here: http://forum.cmsmadesimple.org/index.ph ... 827.0.html a couple of months back but I still haven't found a solution.

I'm somewhat used to the 5-10 sec load times for each page but it's the 60+ sec load times for the admin which really kill it for me.

Hope you have better luck than me.

Re: cmsmadesimple site too slow...

Posted: Thu Nov 16, 2006 10:28 am
by cyberman
alfredo wrote: But I notice site takes too long to load.
Perhaps it could help to slim CMSms. Here are some hints:
  • Deinstall/delete all unused things like module, tags, module/admin translations (also unused FCKEd plugin translations). Be sure you don't need it (it's sometimes a little bit difficult with files inside /plugins).
  • Than you should think about which modules from default installation you really need. IMHO there are some modules you don't need really every day. Made a look at your current website and think you don't need following modules: CMSMailer, ModuleManager, nuSOAP, ThemeManager - deinstall AND delete it.
    [li]Use the replacement for {stylesheet} tag in attachment  ;) ... please read help!
alfredo wrote: Perhaps this has to do with the fact my php memory is only 8 MB ???
Don't think so - if there's a problem you will get an error message.

[gelöscht durch Administrator]

Re: cmsmadesimple site too slow...

Posted: Thu Nov 16, 2006 11:55 am
by Pierre M.
alfredo wrote: ...I turned a simple static site to cmsms, with great ease, ...
Well, what about a statically visible cmsms site ? Each time you edit content or layout, you can manualy statically mirror the site with wget.
In the above referenced thread, I'm advocacing it would be done automagically.

PM

Re: cmsmadesimple site too slow...

Posted: Fri Nov 17, 2006 2:31 am
by alfredo
cyberman wrote:
alfredo wrote: But I notice site takes too long to load.
Perhaps it could help to slim CMSms. Here are some hints:
  • Deinstall/delete all unused things like module, tags, module/admin translations (also unused FCKEd plugin translations). Be sure you don't need it (it's sometimes a little bit difficult with files inside /plugins).
  • Than you should think about which modules from default installation you really need. IMHO there are some modules you don't need really every day. Made a look at your current website and think you don't need following modules: CMSMailer, ModuleManager, nuSOAP, ThemeManager - deinstall AND delete it.
    [li]Use the replacement for {stylesheet} tag in attachment  ;) ... please read help!
alfredo wrote: Perhaps this has to do with the fact my php memory is only 8 MB ???
Don't think so - if there's a problem you will get an error message.
Did what you recommended and now site's running faster.

About the attachment, this is what I see when opening it:

"PK  Tp5º

Re: cmsmadesimple site too slow...

Posted: Fri Nov 17, 2006 2:33 am
by alfredo
Well, what about a statically visible cmsms site ? Each time you edit content or layout, you can manualy statically mirror the site with wget.
In the above referenced thread, I'm advocacing it would be done automagically.

Of course this will be interesting too..

Re: cmsmadesimple site too slow...

Posted: Fri Nov 17, 2006 5:36 am
by cyberman
What's going wrong??
Please look at file name - function.stylesheet.zip.txt ... as you (perhaps  ;)) can see there's a .zip-file inside. But if I wanna post a .zip-file in forum, it wount be accepted. So I've added .txt .

Rename file to function.stylesheet.zip and you can extract/use it ...

Re: cmsmadesimple site too slow...

Posted: Fri Nov 17, 2006 4:36 pm
by Pierre M.
cyberman wrote: Perhaps it could help to slim CMSms. Here are some hints:
alfredo wrote: Did what you recommended and now site's running faster.
Hey ! Well done. May be the standard distribution should be slimmed a bit ?

PM

Re: cmsmadesimple site too slow...

Posted: Fri Nov 17, 2006 6:04 pm
by cyberman
Or a light version for small powered accounts  ;D ...

Re: cmsmadesimple site too slow...

Posted: Fri Nov 17, 2006 7:55 pm
by alfredo
cyberman wrote:
What's going wrong??
Please look at file name - function.stylesheet.zip.txt ... as you (perhaps  ;)) can see there's a .zip-file inside. But if I wanna post a .zip-file in forum, it wount be accepted. So I've added .txt .

Rename file to function.stylesheet.zip and you can extract/use it ...

Hi,

Thank you very much again. This works quite well, site's faster now - or perhaps I self-convinced me  ;)

Could you please give a brief explanation on what's this file replacement about??

Re: cmsmadesimple site too slow...

Posted: Sat Nov 18, 2006 6:27 am
by cyberman
alfredo wrote: This works quite well, site's faster now - or perhaps I self-convinced me  ;)
You can check it by yourself. Please look at page source - on the bottom of every page you will found the time to generate. That's a current one from your page:
Could you please give a brief explanation on what's this file replacement about??
The original collect all attached stylesheets and place them in source on every page call. The replacement does the same but only one time cause css will be cached in a plain zipped file.

Re: cmsmadesimple site too slow...

Posted: Tue Nov 21, 2006 1:42 am
by alfredo
cyberman wrote:
alfredo wrote: This works quite well, site's faster now - or perhaps I self-convinced me  ;)
You can check it by yourself. Please look at page source - on the bottom of every page you will found the time to generate. That's a current one from your page:
Could you please give a brief explanation on what's this file replacement about??
The original collect all attached stylesheets and place them in source on every page call. The replacement does the same but only one time cause css will be cached in a plain zipped file.

Many thanks for all  :)

Re: cmsmadesimple site too slow...

Posted: Wed Nov 22, 2006 8:09 am
by horus
I've tried cyberman solution. It's a breakthrough but not optimal for me: include every time all stylesheets in html output cause a useless and bad increase of bytes to send to client, in 56k environment this can make worse performances.

My idea is: not cache compressed version but plain text of stylesheet then create link to this file (substitute stylesheet.php?... call with mystyle_someid.css in <link rel="stylesheet" type="text/css"... )

Note: I'm italian so perhaps my message isn't in perfect english, anyway I hope it's understandable.