Current time: 12-09-2019, 03:05 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installed Joomla 2.5 - All F's - Please help. Caching explained
10-18-2012, 02:01 AM
Post: #1
Installed Joomla 2.5 - All F's - Please help. Caching explained
Hello,

Test Results:
http://www.webpagetest.org/result/121017_7C_PA2/
I got all F's except for Keep-alive Enabled, an A.


I have installed Joomla 2.5. It's not live yet, still testing. It's running very slow.

I have disabled Joomla Global Caching and enabled memcache. Only other thing enabled is the system cache plugin in joomla.

My site has over 50 articles daily, I cannot use the Joomla cache because the articles won't be up on time.

I have JS CSS Control plugin to help reduce the Javascripts and CSS.

Any help would be great.

Thanks.
Find all posts by this user
Quote this message in a reply
10-18-2012, 10:39 PM
Post: #2
RE: Installed Joomla 2.5 - All F's - Please help. Caching explained
Do you have mod_deflate installed and active? That is the reason for your gzip F.

For the image compression, you have 2 jpeg images in your theme that should be compressed more: http://www.webpagetest.org/result/121017...ess_images - Load them into a photo editor and save them with jpeg quality level 75 (if using Photoshop then it's quality 50 in save-for-web).

You also need to modify your .htaccess (or use a plugin) to add expires headers to your static content (images, js, css, etc) - http://www.webpagetest.org/result/121017...ic_content . This won't impact the dynamic nature of your site but it will have a huge impact on the general performance of your site (and server load). If you search for "joomla expires header" you will get a bunch of results. This one looked reasonable - http://magazine.joomla.org/issues/Issue-...AKIN-Works

That leaves the first byte time which is really painful at 4 seconds. That's largely a function of the performance of your serving infrastructure (database in particular) and if you're on shared hosting you are going to be suffering. You can make it better by enabling the global caching which will help hide the issue. I don't understand why that would impact the articles not going up on time, when a new article is published it should invalidate the cache and re-build it.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-18-2012, 06:44 AM (This post was last modified: 11-18-2012 06:46 AM by PaulWV.)
Post: #3
RE: Installed Joomla 2.5 - All F's - Please help. Caching explained
Hi,

Thanks for the reply. I have corrected the slow loading issue. But the First Byte time is still an F.

The First Byte time is 0.6ms, which is nothing I think. Here are the latest results:
http://www.webpagetest.org/result/121117_KR_D01/

Why is that?

The reason why I cannot use Global Joomla caching is because we post new articles every 10 minutes. I haven't found a way to have those articles display unless we clear cache. If we don't clear the cache, the we don't see any new modifications on the main page.

Thanks.
Find all posts by this user
Quote this message in a reply
11-19-2012, 03:17 PM
Post: #4
RE: Installed Joomla 2.5 - All F's - Please help. Caching explained
Looks like you still need to install and configure mod_expires. This caches stuff in the client browser so they don't have to re-load stuff - and that will mean that once css, jss, images etc are downloaded once, the site will speed up dramatically for the users.

Do you have an opcode cacher enabled? If not, look at installing eAccelerator.
Find all posts by this user
Quote this message in a reply
11-19-2012, 08:33 PM
Post: #5
RE: Installed Joomla 2.5 - All F's - Please help. Caching explained
(11-19-2012 03:17 PM)GreenGecko Wrote:  Looks like you still need to install and configure mod_expires. This caches stuff in the client browser so they don't have to re-load stuff - and that will mean that once css, jss, images etc are downloaded once, the site will speed up dramatically for the users.

Do you have an opcode cacher enabled? If not, look at installing eAccelerator.

Hi,

Thanks for the reply.

I wanted to make sure it was a good idea to put the mod_expires in my .htacess? Reason I ask is because my website is a news driven website. The news articles are updated by the minute. We have over 50 new news updates per day.

To answer your second question, I have ACP installed. Using File caching option in Joomla and Global caching turned off.
Find all posts by this user
Quote this message in a reply
11-20-2012, 12:15 AM
Post: #6
RE: Installed Joomla 2.5 - All F's - Please help. Caching explained
Your HTML should not get cached with mod_expores but you should make sure your static content is. The css, javascript and images should not change every time you publish a new story.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-20-2012, 03:19 AM
Post: #7
RE: Installed Joomla 2.5 - All F's - Please help. Caching explained
(11-20-2012 12:15 AM)pmeenan Wrote:  Your HTML should not get cached with mod_expores but you should make sure your static content is. The css, javascript and images should not change every time you publish a new story.

Hi,

I will try that and get back to you. Thanks.

Will my Google Adsense Javascript code get affected by this? I definitely cannot cache that.

Thanks
Find all posts by this user
Quote this message in a reply
11-20-2012, 05:53 AM
Post: #8
RE: Installed Joomla 2.5 - All F's - Please help. Caching explained
I have enabled mod_expires on my server and added the tags in .htaccess.

I have optimized my images.

I still get an F for First Byte and a C for compress transfer.

http://www.webpagetest.org/result/121119...8f2a016f3/
Find all posts by this user
Quote this message in a reply
11-21-2012, 01:55 AM
Post: #9
RE: Installed Joomla 2.5 - All F's - Please help. Caching explained
(11-20-2012 05:53 AM)PaulWV Wrote:  I have enabled mod_expires on my server and added the tags in .htaccess.

I have optimized my images.

I still get an F for First Byte and a C for compress transfer.

http://www.webpagetest.org/result/121119...8f2a016f3/

Turn on compression for css and js

For TTFB you'll need to look at what's going on during page generation but it's probably down to the efficiency of the DB queries - look for the slow queries in mysql

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
11-21-2012, 03:21 PM
Post: #10
RE: Installed Joomla 2.5 - All F's - Please help. Caching explained
(11-21-2012 01:55 AM)andydavies Wrote:  
(11-20-2012 05:53 AM)PaulWV Wrote:  I have enabled mod_expires on my server and added the tags in .htaccess.

I have optimized my images.

I still get an F for First Byte and a C for compress transfer.

http://www.webpagetest.org/result/121119...8f2a016f3/

Turn on compression for css and js

For TTFB you'll need to look at what's going on during page generation but it's probably down to the efficiency of the DB queries - look for the slow queries in mysql

Thanks for the reply.

I already have a CSS/JS compressor plugin.

It helps a lot.

But the First Byte is still an F with 0.6 seconds, which I think is good.

Very strange.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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