Current time: 12-15-2019, 02:56 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
20s+ for a Joomla site
01-30-2013, 06:24 PM
Post: #1
Sad 20s+ for a Joomla site
Hello,

Please help me explain (like I'm 5) what went wrong and how do I optimize this.

http://www.webpagetest.org/result/130130...ls/cached/

Thank you
Find all posts by this user
Quote this message in a reply
02-02-2013, 04:54 AM
Post: #2
RE: 20s+ for a Joomla site
There are a bunch of things that are part of your site that do not change (specific images, javascript, style, etc). Your server can tell the browser "this file isn't going to change for X seconds/days/years, feel free to store it and don't ask me for it again" by including an "Expires" or "Cache-Control" header in the response.

Without the header, the browser doesn't know if the copy of the file it has is the latest so it has to ask your server "hey, give me this file if it changed since I got it". Since the files didn't change, the server responded with a simple "not modified" message and the browser went ahead and used the copy it had.

With the header, the browser would not have to check every one of those files with the server every time the page is loaded.

As you can see, even though the browser didn't have to actually download the content, just checking for all of them can take quite a long while.

That said, the 5 seconds for the server to respond for the base page itself (the first request) is a big contributor to the 20 second load time and that is going to be a server-side configuration issue (overloaded server, poorly tuned database, some other stuff that someone who knows what they are doing should look at).
Visit this user's website Find all posts by this user
Quote this message in a reply
02-04-2013, 06:09 PM
Post: #3
RE: 20s+ for a Joomla site
Thanks for the explanation.

Would installing Joomla cache extension such as these help improve a bit?
Find all posts by this user
Quote this message in a reply
02-05-2013, 01:03 PM
Post: #4
RE: 20s+ for a Joomla site
Yes, a cache extension (or joomla's built-in page caching) can help hide the issue.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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