Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Page Loading Speed

Comments

  • Registered Users, Registered Users 2 Posts: 1,257 ✭✭✭blue4ever


    Load seems to be a factor - user experience etc.

    You can check if your page is gzipped :

    http://www.whatsmyip.org/http_compression/

    C


  • Registered Users, Registered Users 2 Posts: 203 ✭✭AMPSound


    Thanks very much for that handy link. It all seems to be working:

    http://ampsoundsystems.com is gzipped
    Original Size: 87 KB
    Gzipped Size: 14.37 KB
    Data Savings: 83.48%

    http://ampsoundsystems.com/tag/greystones-theatre is gzipped
    Original Size: 32.64 KB
    Gzipped Size: 7.08 KB
    Data Savings: 78.31%

    So any other tips for reducing the load time?


  • Registered Users, Registered Users 2 Posts: 203 ✭✭AMPSound


    Just thinking about those results though - 87KB seems very small for my homepage! The banner is huge, and there are loads of images in blog posts etc that should make the homepage much larger. Any thoughts on that one?


  • Registered Users, Registered Users 2 Posts: 1,257 ✭✭✭blue4ever


    This will be short an sweet - iPhone doesn't cater for the larger fingered variety!

    This is taking an age;
    http://ampsoundsystems.com/site/wp-includes/js/prototype.js?ver=1.6
    This is dead I think;
    http://ampsoundsystems.com/site/wp-content/plugins/wpg2/css/wpg2.css
    This is huge;
    http://static.ak.fbcdn.net/rsrc.php/z5ZQ0/hash/6bzs6vtx.CSS
    And the associated files are big too

    You have about 130 items on the pahe to load - see if they are all necessary

    Compress your js an CSS files (not gzip- actual - you can do it online)

    C


  • Registered Users, Registered Users 2 Posts: 1,257 ✭✭✭blue4ever


    This will be short an sweet - iPhone doesn't cater for the larger fingered variety!

    This is taking an age;
    http://ampsoundsystems.com/site/wp-includes/js/prototype.js?ver=1.6
    This is dead I think;
    http://ampsoundsystems.com/site/wp-content/plugins/wpg2/css/wpg2.css
    This is huge;
    http://static.ak.fbcdn.net/rsrc.php/z5ZQ0/hash/6bzs6vtx.CSS
    And the associated files are big too

    You have about 130 items on the page to load - see if they are all necessary

    Compress your js an CSS files (not gzip- actual - you can do it online)

    Your page may be 80 odd kb - but with all the 129 items a browser is loading - it's 1195kb!!!

    C


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 203 ✭✭AMPSound


    Ok I just installed W3 Total Cache - and it is amazing!

    I also found this great tool http://analyze.websiteoptimization.com/wso to see loading times and recommendations on what to do to speed it up.

    There is a function in Total Cache called Minify which moved all my CSS and JS into the HEAD and now it only calls one CSS instead of 7 and 4 scripts instead of 19.

    So I went from:

    Total HTTP Requests: 136
    Total Size: 907208 bytes

    to


    Total HTTP Requests: 115
    Total Size: 572133 bytes

    and got my loading time down from 32.01 seconds on T1 to 26.03.

    I very much recommend W3 Total Cache for any wordpress install.


  • Banned (with Prison Access) Posts: 188 ✭✭pixeldesign


    I also recommend you guys(tested by me recently) putting all of your javascript files on a subdomain.The speed should increase a lot.


  • Registered Users, Registered Users 2 Posts: 203 ✭✭AMPSound


    I also recommend you guys(tested by me recently) putting all of your javascript files on a subdomain.The speed should increase a lot.

    Oh really? Can you explain in more detail please?


  • Banned (with Prison Access) Posts: 188 ✭✭pixeldesign


    Just create a subdomain, as for example www.js.domain.com .Put all of your javascript files on the subdomain called js and test it.


  • Registered Users, Registered Users 2 Posts: 447 ✭✭PaulPinnacle


    AMPSound wrote: »
    Just thinking about those results though - 87KB seems very small for my homepage! The banner is huge, and there are loads of images in blog posts etc that should make the homepage much larger. Any thoughts on that one?
    What files have you set to be compressed?

    It's only listing the original and compressed size of the HTML/text file (which is all that is being compressed when the page is requested) hence the low file size mentioned of 87KB.

    The total page size is 1368KB (at the moment), with a very significant portion of that being made up of the javascript files (so the area you really want to tackle).

    You can easily set the .js and .css files to be compressed along with the html/text files. (It won't help reduce the image file sizes as these are already compressed, but you can make savings there by serving the correct sized images and optimizing the images for web).


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    Reducing the number of DNS lookups can have a HUGE impact.

    So unless a widget from a 3rd party site is absolutely essential dump it


  • Registered Users, Registered Users 2 Posts: 145 ✭✭RedCardinal


    AMPSound wrote: »
    Ok I just installed W3 Total Cache - and it is amazing!

    Next step - set up a CDN with W3 and watch things improve even more. Amazon Cloudfront has it's EU DC in Dublin, so it's absolutely perfect for Irish sites.


  • Registered Users, Registered Users 2 Posts: 145 ✭✭RedCardinal


    Just create a subdomain, as for example www.js.domain.com .Put all of your javascript files on the subdomain called js and test it.

    And ensure it's a cookieless domain. You could actually use multiple subs to get even more juice from this technique, but moving to CDN will give you both the parallel download improvement alongside greater speed.


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    And ensure it's a cookieless domain. You could actually use multiple subs to get even more juice from this technique, but moving to CDN will give you both the parallel download improvement alongside greater speed.
    Not necessarily
    Every DNS lookup you add can slow things down.
    Blindly advising people to setup CDNs is probably going to cause more issues for a lot of people than solve them


  • Registered Users, Registered Users 2 Posts: 203 ✭✭AMPSound


    Blacknight wrote: »
    Blindly advising people to setup CDNs is probably going to cause more issues for a lot of people than solve them

    Ok so where do we stand with the CDN? Yay or Nay?


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    AMPSound wrote: »
    Ok so where do we stand with the CDN? Yay or Nay?
    I'd be wary ..

    If everything else is optimised AND you are getting a LOT of traffic then it might help ... ..


  • Registered Users, Registered Users 2 Posts: 145 ✭✭RedCardinal


    Blacknight wrote: »
    I'd be wary ..

    If everything else is optimised AND you are getting a LOT of traffic then it might help ... ..

    Well given that Amazon have their DC in Dublin I think Cloudfront makes a lot of sense for Irish sites. Fairly easy to set up, so I'm not sure why you think it will cause trouble for people Michele? Given this thread is about W3TC adding CDN support is trivial.


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    Well given that Amazon have their DC in Dublin I think Cloudfront makes a lot of sense for Irish sites. Fairly easy to set up, so I'm not sure why you think it will cause trouble for people Michele? Given this thread is about W3TC adding CDN support is trivial.

    Richard - it adds extra DNS lookups, which slows things down regardless of location. It also adds an extra degree of complexity that a lot of people neither need nor understand. You also cannot know if both the end user's ISP and their host is actually peering with Amazon, which would add more load time to the entire thing.


Advertisement