My site loads extremely slowly

electronicmonkey - October 22, 2008 - 14:30

I have disabled all unused modules and enabled cache (not aggressive as I use some modules that may not work in this mode),. I have also reduced all images to maximum of 4k . I thought TinyMCE could be contributing a lot to the speed and therefore disabled it . Yet loading even the admin pages takes all of eternity. Can anyone tell me what more can be done ?

=-=

VeryMisunderstood - October 22, 2008 - 14:37

you'll need to flesh this out a bit to explain more about the environment you are running in.

localhost?
shared server?
dedicated? or VPS?

amount of RAM available?

Thanks. 1. shared

electronicmonkey - October 22, 2008 - 14:46

Thanks.
1. shared server
Memory : 32Mb (php)

use yslow

greylogic - October 22, 2008 - 14:41

Use yslow (a firefox addon) and check what component takes the most time to download. This may give a hint about the problem.

Also have you tried,
css/java script aggrgation
css sprites to reduce the number of images to be loaded
--------------------------------------------------------------
My attempt with Drupal - Jaanlo.com

css/java script

electronicmonkey - October 22, 2008 - 15:09

css/java script aggrgation
css sprites to reduce the number of images to be loaded

how do these work please ?

css aggregation - Instead of

greylogic - October 22, 2008 - 15:23

css aggregation -
Instead of sending multiple css files for a request, all the css rules are aggregated into a single file and the number of http request is reduced.

i guess drupal has an option in the performance settings page to turn this on

java script aggregation - for drupal 5.x use the module
http://drupal.org/project/javascript_aggregator

It also helps, if the content is delivered as a zipped file. This can be done either by
1. enabling the apache module mod_gzip
for more info take a look at
http://schroepl.net/projekte/mod_gzip/config.htm

2. If your hosting provider doesn't have this module installed then use
http://drupal.org/project/smartcache

For css sprites - you are aggregating images into a single file. just google for "css cprites"

--------------------------------------------------------------
My attempt with Drupal - Jaanlo.com

Thanks I have used CSS

electronicmonkey - October 22, 2008 - 15:23

Thanks I have used CSS aggregation . I will look at the others.

good article

gcassie - October 22, 2008 - 14:50

This was a very helpful article for me on this subject:

http://wimleers.com/article/improving-drupals-page-loading-performance

Thanks I will look at this.

electronicmonkey - October 22, 2008 - 15:30

Thanks I will look at this.

Yslow shows me a javascript

electronicmonkey - October 22, 2008 - 15:57

Yslow shows me a javascript file that doesn't exist but clocking up a lot of resp time (10859) anyway.

js  [HTTP headers]  http://www.sitename.com/themes/linportal/niftycube.js (404)  11/19/1978     10859  5.7K 

Like I said this file nor the folder "linportal" does not exist anywhere on my site , so how do i get rid of this file.

=-=

VeryMisunderstood - October 22, 2008 - 15:58

have you tried clearing your db cache

niftycube.js seems to come from nifty corners.module. Is it possible this was manually add to the head sections of one or more of your tpl.php pages ?

 
 

Drupal is a registered trademark of Dries Buytaert.