WebPagetest Forums
Installed Joomla 2.5 - All F's - Please help. Caching explained - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: Installed Joomla 2.5 - All F's - Please help. Caching explained (/showthread.php?tid=11781)

Pages: 1 2


Installed Joomla 2.5 - All F's - Please help. Caching explained - PaulWV - 10-18-2012 02:01 AM

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.


RE: Installed Joomla 2.5 - All F's - Please help. Caching explained - pmeenan - 10-18-2012 10:39 PM

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_7C_PA2/1/performance_optimization/#compress_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_7C_PA2/1/performance_optimization/#cache_static_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-June-2012/item/787-htaccess-File-That-FREAKIN-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.


RE: Installed Joomla 2.5 - All F's - Please help. Caching explained - PaulWV - 11-18-2012 06:44 AM

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.


RE: Installed Joomla 2.5 - All F's - Please help. Caching explained - GreenGecko - 11-19-2012 03:17 PM

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.


RE: Installed Joomla 2.5 - All F's - Please help. Caching explained - PaulWV - 11-19-2012 08:33 PM

(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.


RE: Installed Joomla 2.5 - All F's - Please help. Caching explained - pmeenan - 11-20-2012 12:15 AM

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.


RE: Installed Joomla 2.5 - All F's - Please help. Caching explained - PaulWV - 11-20-2012 03:19 AM

(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


RE: Installed Joomla 2.5 - All F's - Please help. Caching explained - PaulWV - 11-20-2012 05:53 AM

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_58_fb8db3996e99b685eebeb1b8f2a016f3/


RE: Installed Joomla 2.5 - All F's - Please help. Caching explained - andydavies - 11-21-2012 01:55 AM

(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_58_fb8db3996e99b685eebeb1b8f2a016f3/

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


RE: Installed Joomla 2.5 - All F's - Please help. Caching explained - PaulWV - 11-21-2012 03:21 PM

(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_58_fb8db3996e99b685eebeb1b8f2a016f3/

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.