0
Welcome Guest! Login
0 items Join Now

Site optimization and template selection

    • dax's Avatar
    • dax
    • Jr. Rocketeer
    • Posts: 42
    • Thanks: 0

    Site optimization and template selection

    Posted 15 years 10 months ago
    • Hi,
      I designed my first joomla site with rockettheme template (chromatophore) - best template maker for joomla and hosted it on rochen - best host for joomla. Its about 2-3 month and i got e-mail that the site is over using CPU on a consistant basis for long time but at last they informed me that i should do something. I am not an expert on joomla, so i googled up and found two sites - joomlaperformance.com and websiteoptimization.com where i checked my site. They gave me a fairly detailed analysis. I was surprised that the site failed on may counts like - number of CSS files, size of CSS file, number of scripts and size, images ... etc. Majority of the counts related to template, which in my case is chromatophore. I can understand that more functionality mean more size, more code and more load time, more CPU power...
      My question is, if template is one to blame, what is the workaround. (FYI, my site do not have much graphic, nor multimedia files (all linked externally) and most content is text. )
      Second, If the present template is not fast/efficient in that sense which other template can i choose.
      Note: I use sh404SEF, rokbox, rokdownload and chronocomment.
      Any opinion is welcome.
      site url : www.swargarohan.org
    • Last Edit: 15 years 10 months ago by dax.
    • History is not something to read ... It's something to make.
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Site optimization and template selection

    Posted 15 years 10 months ago
    • Chromatphore is one of the lightest template around.

      Is it a traffic issue?

      How many visitors do you have daily / weekly / monthly?
    • Thanks,
      jim
    • dax's Avatar
    • dax
    • Jr. Rocketeer
    • Posts: 42
    • Thanks: 0

    Re: Site optimization and template selection

    Posted 15 years 10 months ago
    • The site gets an average of about 500-600 visitors and about 2500 page loads per day.
      Also, I want to know if there are any tricks/settings that can optimize the site, make it load faster and reduce burden on CPU and reduce call to database. in short, improve performance.
    • History is not something to read ... It's something to make.
    • Roeland_A!'s Avatar
    • Roeland_A!
    • Preeminent Rocketeer
    • Posts: 10193
    • Thanks: 71

    Re: Site optimization and template selection

    Posted 15 years 10 months ago
    • If you want to reduce load on the database, you can best make parts of the template that are now dynamically set static, that makes a small difference already.
      You are using a lot of javascript. Reduce the amount of js.
      Cache the pages/modules that you can cache.
      Another idea may be to not use sh404sef, but joomla it's own, it may reduce calls to the database too, but that requires a comparison.
      Try to find out what is actually causing the high cpu load. Then you have much more to go on.
    • *Karma comes in many forms, my personal favourite is the random saucepan from the sky* J.Spencer 17-02-2009
    • dax's Avatar
    • dax
    • Jr. Rocketeer
    • Posts: 42
    • Thanks: 0

    Re: Site optimization and template selection

    Posted 15 years 10 months ago
    • If you want to reduce load on the database, you can best make parts of the template that are now dynamically set static, that makes a small difference already.
      Can you please explain this ?
      Thanks.
    • History is not something to read ... It's something to make.
    • Roeland_A!'s Avatar
    • Roeland_A!
    • Preeminent Rocketeer
    • Posts: 10193
    • Thanks: 71

    Re: Site optimization and template selection

    Posted 15 years 10 months ago
    • Depending on the template, you can set several template settings, once a page is generated, these settings are taken from the database.
      If you have for example a color that is set, and you do not plan to change it. Edit the template and make this code static, add it to your css. Same goes for width and so on.
      But you need to know what you are doing, it needs some basic understanding of html, php/mysql and ofcourse joomla.
    • *Karma comes in many forms, my personal favourite is the random saucepan from the sky* J.Spencer 17-02-2009
    • dax's Avatar
    • dax
    • Jr. Rocketeer
    • Posts: 42
    • Thanks: 0

    Re: Site optimization and template selection

    Posted 15 years 10 months ago
    • My template is chromatophore. I see that there are several color settings/background related images that are loaded, while once color combination/background is set, it need only that set of images. To elaborate, chromatophore has 8-10 different variations in color and 8-10 style preset. irrespective of present scheme, it loades all files. If that can be eliminated, it would be great.
      At the same time, i do not want to remove the color choice totally for myself when i want to. I do change color scheme once in 2-3 month and that's it. I do not want to provide users the ability to change colors using color chooser. In that circumstances, can you guide me how do i implement your suggestion.
    • History is not something to read ... It's something to make.
    • Roeland_A!'s Avatar
    • Roeland_A!
    • Preeminent Rocketeer
    • Posts: 10193
    • Thanks: 71

    Re: Site optimization and template selection

    Posted 15 years 10 months ago
    • To be honest, no I can't, it requires quite some customization of different files, which takes quite some time. I do it normally only for templates that I use for my own sites. Basically it is a tradeoff, either choose a static style, or keep it the way it is. Once you use caching, these optimizations do not make a real difference anyway. Since you want to be able to make changes, turn on caching on the mods that can be cached, and do what I suggested before: ask your host if they can help you identify what is causing the high CPU load. Take that as a starting point.
    • *Karma comes in many forms, my personal favourite is the random saucepan from the sky* J.Spencer 17-02-2009

Time to create page: 0.068 seconds