Joomla 1.5 website very slow to load

Discussion regarding Joomla! 1.5 Performance issues.
Locked
gyanuz
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Sat Jul 09, 2011 7:47 am

Joomla 1.5 website very slow to load

Post by gyanuz » Sat Jul 09, 2011 7:50 am

Can you please tell which extension is my joomla site very slow to load. Here is the site http://www.mahapanya.ac.th

Raton
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 132
Joined: Tue May 04, 2010 8:36 pm
Contact:

Re: Joomla 1.5 website very slow to load

Post by Raton » Sat Jul 09, 2011 1:41 pm

You are using a lot of javascript files

1. Download Jch Optimize plugin from the joomla extensions site: http://extensions.joomla.org/extensions ... ance/12088
Enable all options in the plugin one by one since some might not work with your template
2. turn on Gzip in the Global configuration in Joomla
3. turn on cache in the Global configuration and System cache from the plugins section.
PM me for any Joomla related custom work.

gyanuz
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Sat Jul 09, 2011 7:47 am

Re: Joomla 1.5 website very slow to load

Post by gyanuz » Sun Jul 10, 2011 5:42 am

Thanks for this but when i turn on the system cache in joomla, it seems some extensions like frontpage slideshow is not showing pictures.

Raton
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 132
Joined: Tue May 04, 2010 8:36 pm
Contact:

Re: Joomla 1.5 website very slow to load

Post by Raton » Sun Jul 10, 2011 11:14 am

Great, your website really loads much faster now.

your caching issue can be fixed by excluding those specific extensions from caching (eg. the slideshow)

You can do this in two ways:
1. by modifying joomla cache files or
2. disable default cache plugin and use another Joomla extension for cache like this one: http://extensions.joomla.org/extensions ... ache/13155
this extension allows you to exclude specific modules/extensions/articles from caching.
PM me for any Joomla related custom work.

Raton
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 132
Joined: Tue May 04, 2010 8:36 pm
Contact:

Re: Joomla 1.5 website very slow to load

Post by Raton » Sun Jul 10, 2011 11:59 am

Also, optimize-resize your images to the actual resolution they will be displayed in the browser, don't let the browser resize them. This is a total waste of bandwith/cpu-time for no reason.

Like, in this example:
.../index.php/en/component/content/article/2-news-and-events/36-seminar-on-confucious-ethics
You use an image 2592x1944 which is incredibly slow to load it has 2.74 mb. But it gets resized by the browser at 542x298. Just do that manually with any photo editing program and upload the image to the server. There won't be any noticeable visual differences but the speed will dramatically increase.
PM me for any Joomla related custom work.

gyanuz
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Sat Jul 09, 2011 7:47 am

Re: Joomla 1.5 website very slow to load

Post by gyanuz » Sun Jul 10, 2011 2:49 pm

Thank you for give me a solution and now my web is faster than before. As you said i have installed jotcache plugin and "set on" but when i open the page it shows like this----- 500 - No valid database connection:Table 'mpv.jos_jotcache_exclude' doesn't exist SQL=SELECT `value` FROM jos_jotcache_exclude WHERE `name`='com_content'. Could you please tell me how can i fix this one.

Raton
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 132
Joined: Tue May 04, 2010 8:36 pm
Contact:

Re: Joomla 1.5 website very slow to load

Post by Raton » Mon Jul 11, 2011 3:38 pm

Hello,

That error might be caused by the fact your server is setup to use by default PHP4 and the extension might want to use PHP5.
In your main directory, find htaccess file and write this at the beginning:
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

Actually, for better performance, you can replaceall your .htaccess file with this code:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
RewriteBase /
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} (/[^.]*|\.(php|html?|feed|pdf|raw))$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]

(remember to backup your htaccess before making sure the site works ok with it)
PM me for any Joomla related custom work.

richardfv
Joomla! Intern
Joomla! Intern
Posts: 72
Joined: Wed Mar 15, 2006 4:51 pm

Re: Joomla 1.5 website very slow to load

Post by richardfv » Tue Jul 12, 2011 5:31 pm

Hello, i have followed your step and i admit that perfomances shows huge difference in load time the best was by adding
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

in htaccess, however it made all my links unusable
i have also tried the jch plugin but combining javascripts made my twitter module just keep loading and not showing tweet.

i am sure they might be something to do to improve speed,

as site is offline if you are willing to help i will pm you access if you have time to take a look

Thanks so much so far.

kiernan7
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Sep 09, 2009 5:02 pm

Re: Joomla 1.5 website very slow to load

Post by kiernan7 » Wed May 22, 2013 3:24 am

I FOUND MY PROBLEM AND PERHAPS IT MIGHT HELP YOU:
After reading various posts about the template, I changed to another template and the website sped up considerably. I then did some investigating and found the index.php of the template has been HACKED and there was EVAL() and BASE 64() code in there! As soon as I put in a "clean" version of the PHP, the website was back to normal! Hope this helps someone.
-- John Kiernan


Locked

Return to “Performance - Joomla! 1.5”