Speed up your site Do it yourself - version 6.x.x to 7.0.2

dolphinbugfixing posted 12th of October 2010 in Community Voice. 11 comments.

Overview: This blog aims to show how to increase your site speed and make it function as efficiently as possible and for critics shoot with me your negative comments.

 

1. The first method is the do it yourself way. You can of course, find a lot of ways on the internet for various optimization techniques. If you want you can ask professional coders to help implement the optimization to your site or you can do it yourself. The links below will guide you on how to increase your site speed.

 

a.    Dolphin Instruction how to configure your server


b.    Instruction how to install Php eAccelerator


c.    Install apache mod_deflate, most hosting provider will do this for you and add these lines in your .htaccess



AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
<IfModule mod_deflate.c>
<FilesMatch "\.(js|css)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>

 

OR



<IfModule mod_deflate.c>
# Insert filter
SetOutputFilter DEFLATE
<IfModule mod_setenvif.c>
# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Don't compress images/archives/music/video/etc
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.(?:avi|mov|mp3|mp4|rm|flv|swf|mp?g)$ no-gzip dont-vary
</IfModule>
<IfModule mod_headers.c>
# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary
</IfModule>
</IfModule>

 

check this website tool to determined your site page speed -- Analyze Performance

 

d.   If you're on a dedicated server add additional hard drive dedicated for dolphin scripts & content and other hard drive dedicated to mysql database.

e.    Monitor your mysql slow log this will help you identify which sql query is slow and optimized these queries or you can disable the script module that is running the sql query.


To enable you just need to add some lines to your /etc/my.cnf file, and restart mysql you can restart mysql in WHM. Add the following:

log-slow-queries = /var/log/mysql/mysql-slow.log
long_query_time = 2

To monitor slow log login to mysql in the command type : mysql
mysql> show full processlist;

 


f.     Most site speed questions center around hosting providers. All hosting providers recommended by Boonex are quite sufficient for most needs. The reality is that we must focus on site scripts modification and running modules and matching it with your hosting plan. For example the "simple messenger" module is turn On, this will require significant amount of resources if there are many online users so you need at least a VPS plan.

g.   This might help too. hardware firewall  this will block unwanted traffic.

 

h.   CDN for your images and video files.

 


2. The second of the vital aspects is a bug free site. Site users and visitors will usually shun a site that is ridden with bugs. When your site runs smoothly and seamlessly, it will be a pleasure for site visitors.

Always ask your developer or module provider how the script accesses the database. Is the sql query optimized or tested using a large database content? When the sql query is optimized and tested with a large database, this ensures that in the future the module or modification will not slow down your site as it grows in the future.

3. The third important aspect is the availability of live support on your site. Interacting with your users in real time will give you a clue which part of your site needs improvement .  There are several free live support software out there like livezilla,  that can be readily customized to various site specifications


By the way I write this blog to help stop the frustration how to speed up dolphin site

 

by Pedro here in dolphinbugfixing.com

 
Comments
·Oldest
·Top
Please login to post a comment.
csampson1
Thank you for the post very informative and loved the test..........
PravoNetwork
Ran the test on the Boonex Demo Site.

It got a YSlow Grade of E (59%) and a Page Speed grade of C (78%)

Every site analyzer I've used on my site and the Boonex Demo site give Fs when it comes to the amount of elements used, cookies, bloated images, excessive style sheets. It doesn't look like much as changed with the new Demo version.

What can we do about the issues that come with the Boonex software itself? It takes practicaly 20 .css elements see more for every 1 item and appears that some basic rules of optimized html are not followed with Boonex.

Any suggestions?
dolphinbugfixing
@PravoNetwork

I think what matter most is the page load here you can see that its 6.52s -- http://gtmetrix.com/reports/www.boonex.us/d3jirEeN but this is the version 7.0.3
I did comparison to another site that is using version 7.0.2 with optimization Page load time: 4.10s
Andrew Boon
Dolphin is quite fast now, if properly configured, but it is strue that it may see improvements on content side - less images, optimised JSs and CSS, minifying. Some require more work, some could be done, but are left in order to preserve easy editing for webmasters. You know that 7.0.3 has been significantly improved and the next step is 7.1 which would have content/layout optimisation throughout.

Interestingly, I tested a bunch of competition products demos and all of them resulted with similar see more %%... you just have to realise that feature-packed CMSs inevitably return lower results in demos, since they display too much stuff on their homepages. Clients are supposed to pick features and optimise for their liking - then it works much better.
dolphinbugfixing
see moreI just found out that in 7.0.3 friends and mutual friends block sql query still not optimize.

"Profile View Page" are often access most of the time so if you don't optimize this page this will eat your server resources.

Don't worry about this there is already available fix for this since version 7.0.0 :
http://www.boonex.com/unity/extensions/entry/Optimization_Friends_and_Mutual_Friends_Block_2010_05_01

Related Forum Post : http://www.boonex.com/unity/forums/topic/CountMutualFriends-causes-huge-lock-up.htm
prolaznik
YSlow Grade:
(87%)
Page Speed Grade:
(81%)

is what i got lol. i must be doing something right :)...
http://gtmetrix.com
dolphinbugfixing
@prolaznik wow very good thats awesome you got it man!
BangLoungeFM
how to make the same scoore like facebook?
@prolaznik,

It is possible you would share the site url so we can see ourselves, and also what you have done to get that result please? Everyone reading this thread will be wondering how you did it. Any secrets you wish to share or not? :-)

On a test site with no load I got 72/73 with Page load time: 4.67s Total page size: 516KB Total number of requests: 80 - and that is with only members, featured members (none), sounds and photos, stats, login and quick search on the home page. What is the see more size of a normal D703 site load? .5mb seems quite a lot for what I have enabled.
micliz
Excellent help. Thanks!
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.14880990982056