Slow it down with Sloppy

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-23-2007, 01:07 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
These days, connection speeds are getting faster, but alas there are still those who are stuck on speeds as low as 56k. You need to remember these users (as well as slower broadband users) when setting up websites - this is especialy true of a script like pligg, which can get bulky when javascript comes into play.

I've been using sloppy - requires java - to view some sites at the connection speed of slower internet users. If you're not using something like this when developing, it is a useful tool for making sure your websites load as quickly as possible even for slower users. If using FireFox, you can also download and install the firebug extension to see how quickly your page is loading at a particular connection speed.

Things that will speed up your site for such users include content compression (gzip), minimising http requests (this basically means combining image, css, and javascript files to reduce the number of requests the browser has to make per page), and compromising on fancy features over page load size - the scriptaculous pligg module is not a necessity for example. Another useful tip is to load your css files as early as possible, and (where possible) your javascript as late as possible on the page. This means that the page will be rendered before all the bulky scripts are downloaded, making the loading process appear faster to the user.

Oh and minimising calls to the database is the other big time saver.

Last edited by Simon; 03-23-2007 at 01:13 PM.
Reply With Quote
  #2 (permalink)  
Old 03-23-2007, 01:21 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
I just used it to test a Pligg site I have running with the latest build and it wasn't that slow at all.

try testing www.clubkb.com/pligg on the 56k setting and tell me what you guys think. This is using the latest build which should have some significant speed increases.

Last edited by kbeeveer46; 03-23-2007 at 01:27 PM.
Reply With Quote
  #3 (permalink)  
Old 03-23-2007, 01:27 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
I've been following the latest SVN changes, and when i've been testing my installation the changes have definitely yielded some positive results.
Reply With Quote
  #4 (permalink)  
Old 03-23-2007, 01:31 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
Ash was able to get the database calls on a page with 8 stories down from 170+ to between 50-60+.

The time it took with 170 calls was .5ms and the time it took for the 50-60 calls was .02ms. That's a 95% increase in speed for grabbing the information from the database.
Reply With Quote
  #5 (permalink)  
Old 03-23-2007, 01:35 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
Can't argue with results like that.
Reply With Quote
  #6 (permalink)  
Old 03-23-2007, 05:44 PM
Constant Pligger
 
Join Date: Apr 2006
Location: USA
Posts: 351
I will give firebug a run, seems like a nice tool.

Good to hear about more improvements!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Mysql queries sach4isha Questions and Comments 7 04-12-2009 12:21 AM
Pligg is very ver slow bazzly Questions and Comments 3 01-28-2009 01:49 PM
Slow Comment Posting? davemackey Questions and Comments 2 07-07-2008 01:59 AM
Upgraded to 9.7, searching became extremely slow christinewang Questions and Comments 0 08-07-2007 05:44 PM
Why is Pligg slow even with gzip compression? Daniel Questions and Comments 19 06-22-2007 05:07 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development