Speed Up Website And Up Y-Slow Score No Code Required

Speed Up Website And Up Y-Slow Score No Code Required

Speed Up Your Website

We have managed to speed up clients sites by more than 75% by simply disabling and unistalling there ‘cache plugins’ using this method. Most people ‘think’ that cache plugins are a great idea- I disagree. Before you start, test you site speed at www.iwebtool.com/speed_test or similar so you can check your results afterwards. You may also like to install Firebug and Y-slow Mozilla Firefox Addons to test your Y-Slow score before and after to speed up your website.

Warning: Back up your site and files and store somewhere safe before attempting any site improvements!

After much testing and tweaking I can report to you that this method of speeding up WordPress and improving Y-Slow score works and works very well to speed up your website!

It is the only method suitable for the novice and the only easy method to apply that I have ever found that is also safe to use on highly dynamic WordPress sites also. Sites that are used more as a CMS with full media, slide shows, multiple plugins and lots of Java script.

I can report that I am yet to find any plugin that this method conflict with either.

Now follow these steps exactly and in order to

speed up your website


1. Start by doing a little site maintenance!
Delete any drafts that you don’t want, clean up your tags. Make sure that everything in your WordPress is fully up to date to and that you are using the most up to date version of all your plugins and that you have the latest WP installed. Consider crunching all your images with http://tools.dynamicdrive.com/imageoptimizer/index.php or similar also.

2. Deactivate, uninstall, delete and remove all traces of ANY/EVERY cache plugins that you are using! Refers to plugin authors sites to ensure that you have deleted ever trace of them and their code from your site.

For C-panel Users (and similar)

3. MySQL has a built-in optimize function to clean up wasted space in your tables. It’s particularly effective when you’ve deleted a lot of data (E.G. comments). Don’t be afraid, this is really easy to do! Go into your control panel and look for PHPMyAdmin. Click on it and choose your WP data base. In phpMyAdmin, just select the table, E.G. Comments. Then go to the “Operations” tab, and then click “Optimize Table”. That’s it your done!

4. Now login to your WordPress and Install the following plugins (but do not activate) via your admin:

  • WP Database Cache Reloaded
  • Optimize Scripts (Yes-I know it says it has not been tested up to the latest version of WP but it works so don’t worry)
  • Really Static

5. Activate WP Database Cache Reloaded. Go to the settings page, tick activate and leave it on pre configured settings.
Activate Optimize Scripts and leave it on default settings.
Activate ‘Really Static’ and again, leave it on pre-configured settings. You will need to go to the settings page and add your FTP info and save it. Then, go to settings tab “manual refresh” and choose the option to write all files. This will start to write all your WordPress pages into a folder as static, fast loading pages that will be served up instead of your actual blog pages. If you have a large site, the plugin may timeout before your whole site is copied over. Don’t worry, just select “write all files” again until you get a message saying the plugin has finished copying.

6. Recheck your site to satisfy yourself that everything is working!

7. Ask your host if they have mode_Gzip enabled. (if they don’t – come over to us for hosting as we do!)
If they say yes, ftp into your site and locate your .htaccess file and add this and underneath anything that is already in there:

[<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*

Save file.

If your host says that ‘no’ they don’t, add the following code instead:

[php_value output_handler ob_gzhandler] (remove[] from code)

Save file.

This forces php to compress your php files. (can be resources intensive on the CPU so use with caution)

Your done! Now wait an hour or two (or even until the next day) and go back and test your site speed and Y-Slow score again. The last site I applied this to for a client had a cache installed and the sites scores were:

Page loading time: 17.90
Y-Slow score: ‘F’

After we had finished applying the above;

Page loading time: 0.64
Y-Slow score: ‘B’

Of course there is much more that can be done to improve speed and Y-Slow score but you have to agree that is a dramatic change without even touching so much as a line of the sites code! If this tutorial makes no sense to you at all but you would like to speed up your WordPress site, Contact Us to find out about our services.

Why worry?

Google is now using a site’s speed as part of the algorithm that ranks the order of pages in its search results. Fast sites will rank higher, while slower-loading sites might suffer.

Speed up your website today!

Comments are closed.