Site is extremely slow.
Permalink
I am currently on Dreamhost using PHP 5.2 on a shared host, Apache as well. I have been talking to Dreamhost and they have been moving my site from one server to the next to speed it up but it is still extremely slow.
This is the website:
http://www.stcharbel.org/
After doing a WebPageTest, the biggest problem was:
F for "First Byte" with over 20 seconds time.
Here are the details:
http://www.webpagetest.org/result/121016_TB_GBZ/1/details/...
This is the website:
http://www.stcharbel.org/
After doing a WebPageTest, the biggest problem was:
F for "First Byte" with over 20 seconds time.
Here are the details:
http://www.webpagetest.org/result/121016_TB_GBZ/1/details/...
We're having the same problem with our site (also on Dreamhost). Yours seems to be resolved- did you take any further action, or was the problem solved after your site was transferred?
I too am running Concrete5 on dreamhost, and
I have been seeing full page load times of around 9 seconds.
Elsewhere in these forums was a suggestion to look at:
http://defunctlife.com/2010/05/slow-speeds-and-speeding-up-concrete...
For me, this has significantly reduced the full page load times.
Here is the change I made.
The change is in:
concrete/elements/header_required.php
From:
$this->addHeaderItem($html->css('ccm.base.css'), 'CORE');
$this->addHeaderItem($html->javascript('jquery.js'), 'CORE');
$this->addHeaderItem($html->javascript('ccm.base.js', false, true), 'CORE');
To:
if ($u->isRegistered()) {
$this->addHeaderItem($html->css('ccm.base.css'), 'CORE');
$this->addHeaderItem($html->javascript('jquery.js'), 'CORE');
$this->addHeaderItem($html->javascript('ccm.base.js', false, true), 'CORE');
} else {
echo("<script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js\"></script>");
}
Note that there are other suggestions that remove the 'else' clause.
That may be OK for some, but removing the else (not loading jquery) will break extensions such as the slide show.
I have been seeing full page load times of around 9 seconds.
Elsewhere in these forums was a suggestion to look at:
http://defunctlife.com/2010/05/slow-speeds-and-speeding-up-concrete...
For me, this has significantly reduced the full page load times.
Here is the change I made.
The change is in:
concrete/elements/header_required.php
From:
$this->addHeaderItem($html->css('ccm.base.css'), 'CORE');
$this->addHeaderItem($html->javascript('jquery.js'), 'CORE');
$this->addHeaderItem($html->javascript('ccm.base.js', false, true), 'CORE');
To:
if ($u->isRegistered()) {
$this->addHeaderItem($html->css('ccm.base.css'), 'CORE');
$this->addHeaderItem($html->javascript('jquery.js'), 'CORE');
$this->addHeaderItem($html->javascript('ccm.base.js', false, true), 'CORE');
} else {
echo("<script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js\"></script>");
}
Note that there are other suggestions that remove the 'else' clause.
That may be OK for some, but removing the else (not loading jquery) will break extensions such as the slide show.
I think the idea is not to really remove the else but to not load external jquery and keep loading C5 included jquery instead so you would have:
$this->addHeaderItem($html->javascript('jquery.js'), 'CORE'); if ($u->isRegistered()) { $this->addHeaderItem($html->css('ccm.base.css'), 'CORE'); $this->addHeaderItem($html->javascript('ccm.base.js', false, true), 'CORE'); }
Time to first byte is really the time it takes for the web server to start sending data back to your browser after the server has received your request.