Go Back   Pligg CMS Forum > Other > Off-topic

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-23-2007, 12:07 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 575
Thanks: 14
Thanked 126 Times in 61 Posts
Slow it down with Sloppy

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 12:13 PM..
Reply With Quote
The Following 3 Users Say Thank You to Simon For This Useful Post:
  #2 (permalink)  
Old 03-23-2007, 12:21 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
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.
__________________
I accept donations for my time helping users like you on the forum and IRC.

Last edited by kbeeveer46; 03-23-2007 at 12:27 PM..
Reply With Quote
  #3 (permalink)  
Old 03-23-2007, 12:27 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 575
Thanks: 14
Thanked 126 Times in 61 Posts
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, 12:31 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
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.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #5 (permalink)  
Old 03-23-2007, 12:35 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 575
Thanks: 14
Thanked 126 Times in 61 Posts
Can't argue with results like that.
__________________

Reply With Quote
  #6 (permalink)  
Old 03-23-2007, 04:44 PM
Constant Pligger
 
Join Date: Apr 2006
Location: USA
Posts: 576
Thanks: 31
Thanked 24 Times in 20 Posts
I will give firebug a run, seems like a nice tool.

Good to hear about more improvements!
__________________
God bless,
-en3r0

Torrop.com - Torrent and P2P News
MemeVote.com - Find and vote on Memes
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Comment Posting? davemackey Bug Report 2 07-07-2008 12:59 AM
Slow Mysql queries sach4isha General Help 2 07-04-2008 08:13 AM
9.6 - Just Slow As Hell mrtbc Bug Report 3 07-11-2007 07:47 AM
Why is Pligg slow even with gzip compression? Daniel General Help 19 06-22-2007 04:07 PM
RSS Main painfully slow theshu General Help 0 01-14-2007 01:12 PM


Search Engine Friendly URLs by vBSEO 3.2.0