HostGator.com » Support Portal

Optimizing Joomla

Joomla is a popular CMS that is highly extensible and customizable. Here are some steps to optimize your Joomla installation, and reduce the CPU consumption of this script.

  • Enable Caching
    • This is probably the most important. You can lower the footprint of your site on the server noticibly by enabling caching. This should be enabled at all times.
  • Change your template
    • Some templates may look nice, but they can use up to 70 images per page request, each of which generates an HTTP connection to the server. When many people visit your site, you will end up consuming enough CPU to cause the server's load to rise. You should consider clean template styles instead of image heavy templates.
  • Disable Gzip compression
    • The CPU has to work harder to compress each of your pages before it sends it out. If you have Gzip compression enabled, an extra overhead is added to each page request.
  • Be careful about components
    • Many components are heavy CPU consumers, and will cause your site to raise the server's load. Make sure you're only using the minimum amount of components that are necessary to the operation of your site.
  • Do not use statistics components
    • These use a lot of SQL queries to constantly update and display your site statistics. Use Awstats or Google Analytics to track users.
  • Optimize Forums
    • If you are using a forum bridge/extension such as FireBoard or something similar, make sure to require visitors to register before they are allowed to search and post, and employ captchas for your board.

These steps are not guaranteed fixes to bring a site to normal CPU consumption, but they will drastically reduce the amount of CPU consumed by a Joomla installation. If there are any questions about this, please don't hesitate to contact support@hostgator.com.


Article Comments

Manny
My Joomla site was painfully slow to point of me thinking I might want to change to another server. However after looking at the support docs I found this article and it seems to have made a big difference. Now the site loads much faster.

Thanks.

HostGator
Thank you for your comments. Just a quick reminder that the comments on this page are not monitored by technical support staff, and that for support issues, it is best to contact us by live chat, phone or email so we can assist you right away.

Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.

Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment