Current time: 10-24-2019, 05:00 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Joomla slow load
03-11-2014, 09:18 AM
Post: #1
Joomla slow load
Hello, i have a production site (http://www.materialvertical.es)
First byte is 10 sec (http://www.webpagetest.org/result/140310_A0_14T9/)
I´ve tried everything to improve this data, but there is no way.
Can anyone help me with this?
I guess is a template issue, because if i change the template load time is 2-3 sec, but i would like to maintain this template.
How could i improve this?
Thanks in advance
Find all posts by this user
Quote this message in a reply
03-12-2014, 12:02 AM
Post: #2
RE: Joomla slow load
What hosting are you on (shared, VPS, dedicated)?

Most of your resources are coming back fast enough so it looks like the web server itself is doing ok but there's a good chance that you're having a database or other back-end problem.

It looks like it is consistently 10 seconds: http://www.webpagetest.org/result/140311_CB_KBB/ which looks a lot like a timeout somewhere on the back-end. Look through your error logs and see if anything shows up but my bet is that a plugin or the template is making a call to an external service (maybe a geo location check or something like that) and that call is timing out.

If you have root on the system you can install New Relic's php agent which should be able to tell you really quickly exactly what the call is.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-12-2014, 12:27 AM
Post: #3
RE: Joomla slow load
Pmeenan, first of all, thanks for your answer.
Web is in a shared hosting, but server load is not problem, because another web in the hosting has a first byte of 2-3 seconds.

Another question is, results are different making test with Firefox and Chrome:

Firefox:http://www.webpagetest.org/result/140310_A0_14T9/
Chrome http://www.webpagetest.org/result/140310_WM_15HG

I don´t have root on the system, any other idea would be apreciated.
Find all posts by this user
Quote this message in a reply
03-12-2014, 12:44 AM
Post: #4
RE: Joomla slow load
Could be that it uses a different code path on the back-end for IE vs Chrome and maybe it's really something that has a 5-second timeout that is getting called twice with IE.

Without root on the server you're basically down to manual debugging to track down the issue:

- Try turning as many plugins off as you can and see if the problem goes away. If so, then turn them on one at a time until you can see where it comes from.

- Try a test with the same plugins but a different template. If it goes away then you need to look through the template code (could be that it's doing a license check of some kind that is timing out).

- Add logging throughout the code to see what operation is taking the time.

You could also clone the site to a local Joomla install where you do have root and debug it there.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-12-2014, 06:35 AM
Post: #5
RE: Joomla slow load
Hello again, i turned off most of plugins at the joomla backend, but first byte is again 10-12 seconds.
How can i do this? -> - Add logging throughout the code to see what operation is taking the time.
Thanks again
Find all posts by this user
Quote this message in a reply
04-12-2014, 08:59 AM (This post was last modified: 04-12-2014 09:04 AM by Anton Chigurh.)
Post: #6
RE: Joomla slow load
Your main problem is a fat page. How fast do you expect 1.3 megabytes to load on a browser?

Slim it down, you'll improve performance. Show me a fat page and I'll show you a slow page, every time.

You can save close to 700kb just by optimizing your jpeg images, listed here.

Look how large these images are vs. the size you're scaling them to, in the script.

Images

Optimize and resize them. Make them only a little bit larger in dimension than you're scaling them to render - the full images still load, byte size and all, they're just scaled to look smaller than they actually are.

This stuff isn't rocket science, it's simple common sense really.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)