Should I compress my site to increase speed

Discussion regarding Joomla! 1.5 Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security and Performance FAQs
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
seaside man
Joomla! Guru
Joomla! Guru
Posts: 698
Joined: Thu May 08, 2008 2:55 pm
Contact:

Should I compress my site to increase speed

Postby seaside man » Mon Jan 02, 2012 1:13 pm

Hi my site http://www.in2town.co.uk seems to me very slow and i would be grateful if people could put on here the load up time they are receiving for my site as i am getting different results.

I have read about compressing the css of my site but i do not know how to do this or if this is a wise idea. I would be grateful to hear off people who have done this and if it has worked and how to do it.

The template i am using is a gavick pro template which is world news 2. If anyone can please help me make my site faster as i have been trying for such a long time now and would be grateful for some advice
In2town Magazine is a popular magazine covering celebrity gossip, travel news, lifestyle news, gadget news and so much more. visit http://www.in2town.co.uk

janaf
Joomla! Explorer
Joomla! Explorer
Posts: 411
Joined: Fri Nov 04, 2011 6:30 pm
Location: Stockholm
Contact:

Re: Should I compress my site to increase speed

Postby janaf » Mon Jan 02, 2012 6:23 pm

Try PageSpeed, available for Firefox, Chrome.... It will give you a good analysis of the page performance.
You want replies? Search the forum. Most questions have been anserd many times. If not; what have you done, what do you want to do, what have you tried? Be clear and explicit!
----
ToolGeeks, handicrafts and tools community: http://www.toolgeeks.net

dunio
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Wed Dec 14, 2011 3:59 pm

Re: Should I compress my site to increase speed

Postby dunio » Sun Jan 08, 2012 1:58 am

And Yslow, too. Hm.. yea Google Speed can give you optimized version of the files for download but ALWAYS make backups just for any case. :D

seaside man
Joomla! Guru
Joomla! Guru
Posts: 698
Joined: Thu May 08, 2008 2:55 pm
Contact:

Re: Should I compress my site to increase speed

Postby seaside man » Sun Jan 08, 2012 5:46 pm

can anyone explain about images, i read about only having so many images on a page, i try and keep my images as small as possible but need to use a number of images
In2town Magazine is a popular magazine covering celebrity gossip, travel news, lifestyle news, gadget news and so much more. visit http://www.in2town.co.uk

dunio
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Wed Dec 14, 2011 3:59 pm

Re: Should I compress my site to increase speed

Postby dunio » Sun Jan 08, 2012 6:26 pm

What do you need to know about images? You can losslessly compress them with google speed. Just make sure you have backups.

janaf
Joomla! Explorer
Joomla! Explorer
Posts: 411
Joined: Fri Nov 04, 2011 6:30 pm
Location: Stockholm
Contact:

Re: Should I compress my site to increase speed

Postby janaf » Tue Jan 17, 2012 7:15 pm

can anyone explain about images


As far as I know there is one server call per image. Not much to do about that if you want to use a number of images. Just make sure they are not larger than you catually display them.

Actually there IS one way to reduce the number of images by combining them into a large image, and showing a part only, for a given image. It is called spriting and is not simple to implement......

Also make sure that gzip compression is enabeled. It means that the content is sent in compressed format and decompressed locally. Virtually all browser support that.

You can look for (google) web optimizing sites, that analyze your pages and suggest solutions.
You want replies? Search the forum. Most questions have been anserd many times. If not; what have you done, what do you want to do, what have you tried? Be clear and explicit!
----
ToolGeeks, handicrafts and tools community: http://www.toolgeeks.net

lip420
Joomla! Explorer
Joomla! Explorer
Posts: 342
Joined: Thu Feb 17, 2011 6:13 am

Re: Should I compress my site to increase speed

Postby lip420 » Wed Jan 18, 2012 5:09 pm

I would. I did recently and it looks like it's making a difference. My page speed score on Google went from 70 to 93,94. You can also check GTmetrix. They say it's important and it makes sense, people want stuff fast.

I kept the original files of my javascript, index.css, etc, which are easier to work with and then compressed another version and put it on my site. I would recommend that. Having the original uncompressed will help a lot if you need a backup.

lip420
Joomla! Explorer
Joomla! Explorer
Posts: 342
Joined: Thu Feb 17, 2011 6:13 am

Re: Should I compress my site to increase speed

Postby lip420 » Wed Jan 18, 2012 5:10 pm

You can also compress your images with punypng.

lip420
Joomla! Explorer
Joomla! Explorer
Posts: 342
Joined: Thu Feb 17, 2011 6:13 am

Re: Should I compress my site to increase speed

Postby lip420 » Wed Jan 18, 2012 5:12 pm

Compressing my site on the server made the biggest difference for me too.

User avatar
dw1Rianto
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Sun Oct 09, 2011 5:13 am
Location: Jakarta

Re: Should I compress my site to increase speed

Postby dw1Rianto » Thu Jan 19, 2012 2:07 pm

The site seems ok from here. Idk what you means of slow? Have you ever seen video site such as Vimeo from Indonesia? This what I call SLOW.

seaside man
Joomla! Guru
Joomla! Guru
Posts: 698
Joined: Thu May 08, 2008 2:55 pm
Contact:

Re: Should I compress my site to increase speed

Postby seaside man » Sat Jan 28, 2012 12:23 am

lip420 wrote:You can also compress your images with punypng.


lip420 what size do you suggest for an image, i try and keep my really low
In2town Magazine is a popular magazine covering celebrity gossip, travel news, lifestyle news, gadget news and so much more. visit http://www.in2town.co.uk

seaside man
Joomla! Guru
Joomla! Guru
Posts: 698
Joined: Thu May 08, 2008 2:55 pm
Contact:

Re: Should I compress my site to increase speed

Postby seaside man » Sat Jan 28, 2012 12:24 am

lip420 wrote:Compressing my site on the server made the biggest difference for me too.


how did you compress your site on the server and how much difference did it make
In2town Magazine is a popular magazine covering celebrity gossip, travel news, lifestyle news, gadget news and so much more. visit http://www.in2town.co.uk

dunio
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Wed Dec 14, 2011 3:59 pm

Re: Should I compress my site to increase speed

Postby dunio » Sat Jan 28, 2012 12:31 am

seaside man wrote:how did you compress your site on the server and how much difference did it make


Apache 2.0 and 2.2 allow you to compress content before sending it to the vistor's browser. The types of content to be compressed are specified by MIME type. This feature requires Apache's mod_deflate to function correctly.

lip420
Joomla! Explorer
Joomla! Explorer
Posts: 342
Joined: Thu Feb 17, 2011 6:13 am

Re: Should I compress my site to increase speed

Postby lip420 » Sat Jan 28, 2012 2:55 am

In Cpanel. On mine there is a button to "optimize site". Can't remember the exact difference, but it was substantial. I have been working on all kinds of stuff to optimize the site.

I have a few larger images on my site but I try to keep them small. I also figured out how to do a css sprite today too for background images. That helped.

lip420
Joomla! Explorer
Joomla! Explorer
Posts: 342
Joined: Thu Feb 17, 2011 6:13 am

Re: Should I compress my site to increase speed

Postby lip420 » Sat Jan 28, 2012 3:00 am

yeah css sprites...search for "css sprites generators". That will be easier. It worked for me. I went from 20 http requests down to 10. I used this one: http://css-sprit.es/

seaside man
Joomla! Guru
Joomla! Guru
Posts: 698
Joined: Thu May 08, 2008 2:55 pm
Contact:

Re: Should I compress my site to increase speed

Postby seaside man » Sat Jan 28, 2012 12:16 pm

can you check the speed of my site and let me know what you get and how bad the speed is for my site please. i will also have a look in the cpanel
In2town Magazine is a popular magazine covering celebrity gossip, travel news, lifestyle news, gadget news and so much more. visit http://www.in2town.co.uk

seaside man
Joomla! Guru
Joomla! Guru
Posts: 698
Joined: Thu May 08, 2008 2:55 pm
Contact:

Re: Should I compress my site to increase speed

Postby seaside man » Sat Jan 28, 2012 12:41 pm

lip420 wrote:I would. I did recently and it looks like it's making a difference. My page speed score on Google went from 70 to 93,94. You can also check GTmetrix. They say it's important and it makes sense, people want stuff fast.

I kept the original files of my javascript, index.css, etc, which are easier to work with and then compressed another version and put it on my site. I would recommend that. Having the original uncompressed will help a lot if you need a backup.


just done the page speed test and this is the result from google

Overview

The page Lifestyle Magazine Celebrity Gossip got an overall Page Speed Score of 76 (out of 100). Learn more

i am not sure what the following means, can anyone please explain

Suggestions for this page
The following cacheable resources have a short freshness lifetime. Specify an expiry of at least one week in the future for the following resources:

* http://static.gamesys.co.uk/.../250x250.gif (expiry not specified)
* http://www.in2town.co.uk/.../2clairenewadvert.jpg (expiry not specified)
* http://www.in2town.co.uk/.../ryanair2.jpg (expiry not specified)
* http://www.in2town.co.uk/.../amywinehouse.jpg (expiry not specified)
* http://www.in2town.co.uk/.../andreamclean1.jpg (expiry not specified)
* http://www.in2town.co.uk/.../ashtonkutcher.jpg (expiry not specified)
* http://www.in2town.co.uk/.../demimoore1.jpg (expiry not specified)
* http://www.in2town.co.uk/.../halleberry.jpg (expiry not specified)
* http://www.in2town.co.uk/.../harrystyles.jpg (expiry not specified)
* http://www.in2town.co.uk/.../johnnydepp.jpg (expiry not specified)
* http://www.in2town.co.uk/.../jorgieporter.jpg (expiry not specified)
* http://www.in2town.co.uk/.../lindsaylohan.jpg (expiry not specified)
* http://www.in2town.co.uk/.../andyemmerdale.jpg (expiry not specified)
* http://www.in2town.co.uk/.../chasemmerdale1.jpg (expiry not specified)
* http://www.in2town.co.uk/images/stories ... debbie.jpg (expiry not specified)
* http://www.in2town.co.uk/.../lingerie.d ... etbodyst.. . (expiry not specified)
* http://www.in2town.co.uk/.../lingerie.p ... sp_343.jpg (expiry not specified)
* http://www.in2town.co.uk/.../lingerie.s ... sp_343.jpg (expiry not specified)
* http://www.in2town.co.uk/.../stories.Ho ... ypool2ns.. . (expiry not specified)
* http://www.in2town.co.uk/.../stories.Ho ... ypool2ns.. . (expiry not specified)
* http://www.in2town.co.uk/.../stories.Ho ... sp_332.jpg (expiry not specified)
* http://www.in2town.co.uk/.../stories.bi ... sp_268.jpg (expiry not specified)
* http://www.in2town.co.uk/.../stories.pe ... sp_410.jpg (expiry not specified)
* http://www.in2town.co.uk/.../stories.sh ... sp_832.jpg (expiry not specified)
* http://www.in2town.co.uk/.../stories.sh ... sp_839.jpg (expiry not specified)
* http://www.in2town.co.uk/.../stories.so ... sp_835.jpg (expiry not specified)
* http://www.in2town.co.uk/.../stories.so ... sp_310.jpg (expiry not specified)
* http://www.in2town.co.uk/.../stories.so ... sp_320.jpg (expiry not specified)
* http://www.in2town.co.uk/.../search_area_bg.png (expiry not specified)
* http://www.in2town.co.uk/.../BebasNeue-webfont.svg (expiry not specified)
* http://www.in2town.co.uk/.../breadcrumbs_bg.png (expiry not specified)
* http://www.in2town.co.uk/.../breadcrumbs_icon.png (expiry not specified)
* http://www.in2town.co.uk/.../color_switcher.png (expiry not specified)
* http://www.in2town.co.uk/.../dropline_bg.jpg (expiry not specified)
* http://www.in2town.co.uk/.../menu_active.png (expiry not specified)
* http://www.in2town.co.uk/.../separator_dark.png (expiry not specified)
* http://www.in2town.co.uk/.../bg1.jpg (expiry not specified)
* http://www.in2town.co.uk/.../bg2.png (expiry not specified)
* http://www.in2town.co.uk/.../logo.png (expiry not specified)
* http://www.in2town.co.uk/.../menu_item.png (expiry not specified)
* http://www.in2town.co.uk/.../menu_separator.png (expiry not specified)
* http://www.in2town.co.uk/templates/gk_t ... nu/mega.js (expiry not specified)
* http://pagead2.googlesyndication.com/pagead/show_ads.js (60 minutes)
* http://www.google-analytics.com/ga.js (2 hours)
* http://www.tesco.com/.../Tesco_101pil_F ... 00x250.gif (2.8 hours)
In2town Magazine is a popular magazine covering celebrity gossip, travel news, lifestyle news, gadget news and so much more. visit http://www.in2town.co.uk

seaside man
Joomla! Guru
Joomla! Guru
Posts: 698
Joined: Thu May 08, 2008 2:55 pm
Contact:

Re: Should I compress my site to increase speed

Postby seaside man » Sat Jan 28, 2012 12:50 pm

lip420 wrote:I would. I did recently and it looks like it's making a difference. My page speed score on Google went from 70 to 93,94. You can also check GTmetrix. They say it's important and it makes sense, people want stuff fast.

I kept the original files of my javascript, index.css, etc, which are easier to work with and then compressed another version and put it on my site. I would recommend that. Having the original uncompressed will help a lot if you need a backup.


can you explain each step you made to get such a high score please as i would like to follow this
In2town Magazine is a popular magazine covering celebrity gossip, travel news, lifestyle news, gadget news and so much more. visit http://www.in2town.co.uk

lip420
Joomla! Explorer
Joomla! Explorer
Posts: 342
Joined: Thu Feb 17, 2011 6:13 am

Re: Should I compress my site to increase speed

Postby lip420 » Mon Jan 30, 2012 2:49 pm

Use Gtmetrix and keep testing your site. Do what it tells you to do. Also I would remove Mootools and caption.js from the header.

seaside man
Joomla! Guru
Joomla! Guru
Posts: 698
Joined: Thu May 08, 2008 2:55 pm
Contact:

Re: Should I compress my site to increase speed

Postby seaside man » Sun Feb 05, 2012 2:52 pm

lip420 wrote:Use Gtmetrix and keep testing your site. Do what it tells you to do. Also I would remove Mootools and caption.js from the header.


hi sorry to sound thick, but what is mootools and where can i remove it, also how do you mean by caption.js. would really value your help so i can make my site faster as i need to try and compete against my compeditors who have a faster website than me
In2town Magazine is a popular magazine covering celebrity gossip, travel news, lifestyle news, gadget news and so much more. visit http://www.in2town.co.uk

lip420
Joomla! Explorer
Joomla! Explorer
Posts: 342
Joined: Thu Feb 17, 2011 6:13 am

Re: Should I compress my site to increase speed

Postby lip420 » Sun Feb 05, 2012 4:08 pm


seaside man
Joomla! Guru
Joomla! Guru
Posts: 698
Joined: Thu May 08, 2008 2:55 pm
Contact:

Re: Should I compress my site to increase speed

Postby seaside man » Sun Feb 05, 2012 6:09 pm

lip420 wrote:This one worked for me. http://www.eboga.org/cms/joomla/how-to- ... mla15.html


hi thanks for this. just read it, and it says put it at the top but when i done that it made the site a bit funny.

here is the first part of my index code, where should i put the code

<?php
/*
#------------------------------------------------------------------------
# The World News II - #6 2011 template (for Joomla 1.5)
#
# Copyright (C) 2007-2010 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: http://www.gavick.com
# Support: [email protected]
[email protected]--------
# Based on T3 Framework
#------------------------------------------------------------------------
# Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license - GNU/GPL, http://www.gnu.org/copyleft/gpl.html
# Author: J.O.O.M Solutions Co., Ltd
# Websites: http://www.joomlart.com - http://www.joomlancers.com
#------------------------------------------------------------------------
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

include_once (dirname(__FILE__).DS.'libs'.DS.'gk.template.helper.php');

$tmpl = GKTemplateHelper::getInstance($this, array('ui', GK_TOOL_SCREEN, GK_TOOL_MENU, 'main_layout', 'direction'));

//Calculate the width of template
$tmplWidth = '';
$tmplWrapMin = '100%';
switch ($tmpl->getParam(GK_TOOL_SCREEN)){
case 'auto':
In2town Magazine is a popular magazine covering celebrity gossip, travel news, lifestyle news, gadget news and so much more. visit http://www.in2town.co.uk

seaside man
Joomla! Guru
Joomla! Guru
Posts: 698
Joined: Thu May 08, 2008 2:55 pm
Contact:

Re: Should I compress my site to increase speed

Postby seaside man » Sun Feb 05, 2012 6:20 pm

put it at the very top but when i load my site this is what i get

/* #------------------------------------------------------------------------ # The World News II - #6 2011 template (for Joomla 1.5) # # Copyright (C) 2007-2010 Gavick.com. All Rights Reserved. # License: Copyrighted Commercial Software # Website: http://www.gavick.com # Support: [email protected] [email protected]-------- # Based on T3 Framework #------------------------------------------------------------------------ # Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved. # @license - GNU/GPL, http://www.gnu.org/copyleft/gpl.html # Author: J.O.O.M Solutions Co., Ltd # Websites: http://www.joomlart.com - http://www.joomlancers.com #------------------------------------------------------------------------ */ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' );include_once (dirname(__FILE__).DS.'libs'.DS.'gk.template.helper.php');$tmpl = GKTemplateHelper::getInstance($this, array('ui', GK_TOOL_SCREEN, GK_TOOL_MENU, 'main_layout', 'direction'));//Calculate the width of template $tmplWidth = ''; $tmplWrapMin = '100%'; switch ($tmpl->getParam(GK_TOOL_SCREEN)){ case 'auto': $tmplWidth = '97%'; break; case 'fluid': $tmplWidth = intval($tmpl->getParam('gk_screen-fluid-fix-gk_screen_width')); $tmplWidth = $tmplWidth ? $tmplWidth.'%' : '90%'; break; case 'fix': $tmplWidth = intval($tmpl->getParam('gk_screen-fluid-fix-gk_screen_width')); $tmplWrapMin = $tmplWidth ? ($tmplWidth+1).'px' : '1003px'; $tmplWidth = $tmplWidth ? $tmplWidth.'px' : '1002px'; break; default: $tmplWidth = intval($tmpl->getParam(GK_TOOL_SCREEN)); $tmplWrapMin = $tmplWidth ? ($tmplWidth+1).'px' : '1003px'; $tmplWidth = $tmplWidth ? $tmplWidth.'px' : '1002px'; break; }$tmpl->setParam ('tmplWidth', $tmplWidth); $tmpl->setParam ('tmplWrapMin', $tmplWrapMin);//Main navigation $gk_menutype = $tmpl->getMenuType(); $gkmenu = null; if ($gk_menutype && $gk_menutype != 'none') { $gkparams = new JParameter(''); $gkparams->set( 'menutype', $tmpl->getParam('menutype', 'mainmenu') ); $gkparams->set( 'menu_images_align', 'left' ); $gkparams->set( 'menupath', $tmpl->templateurl() .'/gk_menus'); $gkparams->set('menu_images', 1); //0: not show image, 1: show image which set in menu item $gkparams->set('menu_background', 1); //0: image, 1: background $gkparams->set('mega-colwidth', 200); //Megamenu only: Default column width $gkparams->set('mega-style', 1); //Megamenu only: Menu style. $gkparams->set('rtl',($tmpl->getParam('direction')=='rtl' || $tmpl->direction == 'rtl')); $gkmenu = $tmpl->loadMenu($gkparams, $gk_menutype); } //End for main navigation$layout = $tmpl->getLayout ();if ($layout) { $tmpl->display($layout); }
In2town Magazine is a popular magazine covering celebrity gossip, travel news, lifestyle news, gadget news and so much more. visit http://www.in2town.co.uk

seaside man
Joomla! Guru
Joomla! Guru
Posts: 698
Joined: Thu May 08, 2008 2:55 pm
Contact:

Re: Should I compress my site to increase speed

Postby seaside man » Sun Feb 05, 2012 6:46 pm

hi just checked and i do not have mootools on the template. i did not check and that site says to check to see if you have the following

<script type="text/javascript" src="/media/system/js/mootools.js"></script>
<script type="text/javascript" src="/media/system/js/caption.js"></script>

i do have it on another site so i will use that. many thanks for the heads up on that. is there anything else i can do.
In2town Magazine is a popular magazine covering celebrity gossip, travel news, lifestyle news, gadget news and so much more. visit http://www.in2town.co.uk

seaside man
Joomla! Guru
Joomla! Guru
Posts: 698
Joined: Thu May 08, 2008 2:55 pm
Contact:

Re: Should I compress my site to increase speed

Postby seaside man » Fri Feb 10, 2012 5:52 pm

my speed score is A and my yslow score is A but the speed is still eleven seconds can anyone explain this please

http://gtmetrix.com
In2town Magazine is a popular magazine covering celebrity gossip, travel news, lifestyle news, gadget news and so much more. visit http://www.in2town.co.uk


Return to “Performance - Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 6 guests