Before I start with how you can speed-up your site I will tell you how a slow website undermines your efforts to create an online business.


If your website is slow you compromise your online business in the following ways:


  • Your rankings in Google and other search engines are negatively affected.
One of the few factors that Google over the years, have officially announced as a contributing variable to their complicated ranking factor, is the page load time. It goes without saying that a descent speed for your website, will bring you a lot of SEO benefits compared to your competitors. Search engines want searchers to have a specific level of quality in their searching experience and page load time highly contributes to that.


  • Your targeted potential customers will be discouraged, get bored and won't convert as easily.
When your website's pages load quickly and efficiently, you make sure that your visitors won't get bored and leave. By keeping your readers on your website and by decreasing your bounce rate, you also increase your conversion rates. In other words, you sell more! It will also increase your authority as an online marketer and you will have the chance to build a list of loyal readers much easier than with a slow website.

  • It takes more time to administer your Wordpress website, create your content or troubleshoot it when needed.
As webmasters we spent a lot of time administering our Wordpress websites as well as writing posts, creating pages or shaping the looks of our babies! A faster loading website will help us do all these duties in a faster, more efficient and less frustrating way.

You can check your page load time at sites like Pingdom and GTMetrix among others. These sites will also help you identify specific elements of your websites that act as a bottleneck when a visitor requests your content. That way you can steer your corrective actions accordingly.

Whatever your bottleneck is though, all websites respond significantly to the ways I will talk about in the following pages. They are all easy to implement and anyone can apply them regardless of technical level. They will noticeably speed up your website no matter what hosting plan you are using (shared hosting, VPS or dedicated server).

Join the Discussion
Write something…
Recent messages
Bwainhaus Premium
Thanks for the training I added both of the plugins (didn't do CDN) you suggested but I haven't done any of the other steps (yet). But my website speed score is still very low. It says something about Javascript and CSS above the fold. Any advice?
Reply
minitrio Premium
Thanks for the training, where do I find this file : wp-config.php
and how to access it, thanks.
Reply
AnthonyMLM Premium
Thanks for awesome training, very helpful
Reply
Kelara Premium
Thanks for your help with this.
Reply
Viterbi Premium
Thank you Kelara!! :-)
Reply
Ultimateless Premium
Thank you so much for this, this is gold and you gave it for free! Thank you, thank you, thank you!
Reply
Viterbi Premium
Glad I helped! :-)
Reply
Varga Premium
Very helpful thank you. I can see a few areas where I could improve speed.
Reply
CherylK Premium
Well, that is a LOT of plugins! I'm going to start with the Pingdom and GTMetrix step and then get rid of all the revisions. But thank you for this training.
Reply
jmatos Premium
Stuck on step 1; uploading it to your website's root directory on your server. How do I do that, our where do I find that?
Reply
TopAchiever Premium
Maybe send them a PM directly? They may respond faster.
Reply
jmatos Premium
I found this tutorial, I think it explains it pretty good. Thanks.
Reply
jmatos Premium
My problem now is that I get a message that says the server does not support ftp.
Reply
TopAchiever Premium
Perhaps you can PM Ignorant - he is well versed in how WP works - here is the link to his profile:
https://my.wealthyaffiliate.com/ignorant

Perhaps he can assist you.
Reply
derekmarshal Premium
Zlib, can this be installed on WA hosted sites?
Reply
onmyownterms Premium
I hope your question was answered, if not, feel free to reach out to me.
Reply
derekmarshal Premium
It has indeed. I think the question related to CDN network plugin thingy.
Reply
derekmarshal Premium
CDN, any more specific on how to do that and does that work with WA hosted site?
Reply
HansenLin Premium
yes, CDN is kinda like a third party which can be done through many ways. One of the most recommended is to install a plugin in your wordpress site.
Reply
derekmarshal Premium
thanks buddy, any reccomended ones to use?
Reply
HansenLin Premium
Honestly speaking, setting up advanced optimisation through siterubix hosting service is not adequate. The reason is because there is no flexibility in accessing backend settings such as cpanel or at least FTP service.

As for your question, I have 2 most recommended (free) CDN, which are cloudflare & maxcdn.
Reply
derekmarshal Premium
Thank you kindly, just looking at ways to better my site speed. This training is, to be honest, a great resource. Very least go one task out of the way..compressing images.
Reply
nathaniell Premium
You don't need a CDN unless you have massive amounts of traffic.
Reply
Colleen412 Premium
Where is the "wp-config.php file"?
Reply
APathfinder Premium
Hi Colleen,
wp-config.php is normally located at the root level of your Wordpress installation. So, if you use FileZilla, for example, and open your website, you should see the file located there. You can edit it, but be sure you know what you are doing before you do that. Incorrect entries can make your website inaccessible. For all the details see:
https://codex.wordpress.org/Editing_wp-config.php
-Jerry-
Reply
Colleen412 Premium
The main thing I want to do is limit the number of revisions that are saved. Making the body of my site match the title area would be nice, too. For some reason, WP doesn't let me do that.
Reply
womo2015 Premium
Very good info.
Thanks.
Reply
Viterbi Premium
Thank you!
Reply
Travisj Premium
I used w3 cache and had nothing but problems. I finally deleted it and the site slowed down slightly but it got rid of all the white pages of death.
Reply
Viterbi Premium
It must be something in your Wordpress configuration.

Let me know what kind of problems you had and I will try to help you overcome them (and enjoy the benefits of W3Cache).
Reply
Garden77 Premium
Good infomation, thanks for sharing
Reply
Viterbi Premium
Glad it helped!
Reply
tommydillard Premium
Your permalink is the title of your page/post
Reply
Viterbi Premium
Thanks for the help in replying to this, Tommy.
Reply
jshannon123 Premium
As you make progress and add content will your permalinks be ok and basically invent themselves according to your content structure or is it a situation where you have to pay special attention to them and make an effort to create them? Not sure if I understand this whole concept.
Reply
TonyMonzon Premium
hi there, your permalinks will not change unless you change them. Your content has nothing to do with your permalinks. The title of your post becomes your permalink. Therefore there's no need to worry about permalinks changing. hope this helps!
Reply
jshannon123 Premium
Great. Thanks guys.
Reply
KeithBunge Premium
I only took one Linux class and made the bootable flash drive. I have done very little work in Linux. If you change a file using Linux you should be able to work with the same file in Windows as you can use Linux to retrieve files from a computer unable to boot by booting in Linux. I have a little knowledge and they say that is a dangerous thing. But I try anyway. I tried learning programming by myself for 8 years before I broke down and took courses on it. So if I do work in Linux it will show up in the file when you boot into windows I think.
Reply
KeithBunge Premium
I am told that I do not have permission to save to a php file in notepad. It wants to save it as a document instead and change the extension to .txt. But I did get it to save as php file in documents. I will play with it but am stumped. Where is the root file in my dashboard?
Reply
lotuschick Premium
This is great! I just wish I understood at least half of it^^ my site's so slow ughh! Installed W3 and revisiting smushit so far still slow...I'll keep trying...should be writing though^^
Lotus
Reply
bradleygt Premium
How useful is a CDN to a site that targets only U.S. visitors?
Reply
Viterbi Premium
Hello,

although a CDN would be more beneficial when targeting audience from around the world, the concept (and hence the added value of a CDN) applies also within the limits of U.S.

So for example if you have a visitor from L.A. he or she would actually be served by the closest geo location of your CDN network, hence quicker (increasing the user experience of your website).

Keeping in mind the very affordable CDN solutions out there, I would recommend it even if your visitors are U.S. based only.

Hope this helps...
V.
Reply
bradleygt Premium
ok thanks
Reply
erashallbe Premium
How do I upload the test.php file to my root directory? My site is on WA's servers.
Reply
wininlife Premium
Hey Sarah...I am unable to assist you on this one, but didn't want you to think that no one was listening; this is out of my league I'm afraid...sorry! PS...from experience I've never been a big believer in this 'speeding up our website' stuff...never seen it work in times I've tried it...never seen a difference...however...this is not for me to speak for you or anyone else going in this direction. Bye for now...have a great wkd :)...off to Alberta for Christmas with our daughter...will be away for a week from WA; quality time is quality time, as you know with your little one :) :) :)
Reply
erashallbe Premium
Thanks anyway. Have a wonderful holiday.
Reply
butterflychi Premium
thank you..
Reply
Viterbi Premium
Thanks for the comment!
Reply
ehswift71 Premium
Sorry it is taking me so long to get back to you. I have not been logging in as much lately. I also use autoptimize and speed booster pack. I don't use all of the options available in these two plugins, just the ones I need to make the site load faster. While I am not completely satisfied with the result, the website loads faster, nonetheless.
Reply
Viterbi Premium
I haven't tried those! I will try to play around with them a little bit and I will then come back to you!

But if they work for you then, there you go..... :-)
Reply
ehswift71 Premium
I installed this one too but was using EWWW Image Optimizer prior to this, think it may have used some proprietary format so Smush.it just gave me errors. Went back to using EWWW Image Optimizer. Seems to work fine on the WA servers.
Reply
Viterbi Premium
Thanks for the comment!
Reply
erashallbe Premium
Smush.It had errors all over the place for me too. Image Optimizer was excellent for me and I'll stick with it. Thanks for this comment so I couldn't make some progress!
Reply
ehswift71 Premium
Hello, finding your article very interesting I am using W3 TotalCache but the minify functions don't seem to play well with the WA servers. I had to use another plugin to help with this issue. Any ideas how to fix this?
Reply
Viterbi Premium
Thanks!

Which plugin did you use? Can you share?
Reply
christopherM Premium
I come back to this training everytime I start a new site for myself or a client. This is probably my favorite resource in WA. It's done wonders for my sites.
Reply
Viterbi Premium
Christopher thank you very much!
I really appreciate your comment!
Reply
Greatjob14 Premium
Hi, can I just click delete button for certain plugin, or it is better do it by using clean option plugin?
Reply
blogdog Premium
Delete always works for me
Reply
Viterbi Premium
Delete is fine :-)
Reply
jscot62 Premium
I would need help in the second lesson as I don't know how to upload to my website's root directory on my server.
Reply
Viterbi Premium
Sorry I was away for a few days....
Still looking for this?
Reply
jscot62 Premium
Man this is amazing, was totally lost on the first page, but have been able to implement every other step so far. Thanks bunches. Could you help me integrate a video to my page, I can't seem to get it done, and cant't find training on it.
Reply
Viterbi Premium
Thank you! Glad it helped...

Regarding the Video, do you still need help?
Reply
Terry Clark Premium
Great instructions, Viterbi, I will be following.
Reply
Viterbi Premium
Glad you liked it Terry! :-)
Reply
Thanks Viterbi! This being my first website that I'm creating and with all the factors involved I would've never given this a thought. That's scary, I wonder what else I'm not thinking, GREAT. lol,
Thanks again
Reply
Viterbi Premium
That's what we do here, we learn from each other! We can't think of everything on our own!
Reply
lotuschick Premium
Hey smushit was great for speeding up my site until I took a closer look at the pics it smushed and they're kind of wonky now...oddly cropped etc., I'm guessing there's no way to reverse the "smush" aside from deactivating and reinserting the pics? I do have a lot of pics (it's a fan site so kinda need them) do you know of any other tools to optimize pics you might suggest? Thanks again!^^
Reply
Jaweda2k Premium
I did a training recently on simple tips & tricks of adding images, maybe you can find your answer there: https://my.wealthyaffiliate.com/training/tips-tricks-with-adding-images

Also, once an image is in you can still move it around with the alignment buttons. Often though you do have to pull them out and put them back in again.
Reply
lotuschick Premium
thanks Jaweda2k I'll check your training out. They're not just realigned though, it's like they're recropped which is weird? They seemed fine before, I wonder if maybe it has to do with the WP update
Reply
yinc88 Premium
Hi again, sorry for all the questions! What is phpmyadmin? Is it a software that I need to download?
Reply
nathaniell Premium
If your site is hosted on WA you won't have access to PHPmyadmin. Though there are some things you can do with this advanced feature I don't suggest you worry about it too much at this point. I rarely use it.
Reply
yinc88 Premium
Okay thanks Nathaniell!
Reply
djlv Premium
Thank you for sharing this information..
After i added the code as you outlined in Step 2 my site went blank.. no content loaded up so i had to remove..
Below is a copy of how i added the code.. am i doing something wrong?

<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
*/
?>
<?php
ini_set(’zlib.output_compression’, ‘On’);
ini_set(’zlib.output_compression_level’, ‘1′);
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
Reply
Viterbi Premium
Hello,

It might have to do with the magic_quotes_gpc configuration option which may be enabled in your server environment or not.

Based on your environment the single or double quotes for the Gzip option should be used (depending on your PHP configuration).

If this is the case, then try using double quotes like the following:

<?php
ini_set("zlib.output_compression", "On");
ini_set("zlib.output_compression_level", "1");
?>

or like this: http://d.pr/n/zq1E
(be careful with the -1 instead of 1)

Of course it could be something else and I could be completely off the topic here... :-)

Let me know how it goes!
Reply
djlv Premium
Thanks for your response.. I've tried both the options you presented below by copying them & pasting them in place but unfortunately each of the three options results in a blank website for me..
I was really excited about the possibility of speeding my website load time with this.. any other thoughts on why this might occur?
Reply
Viterbi Premium
I see....

Can you pm your header.php file?
Reply
Viterbi Premium
Hey Djlv,

Thanks for sharing your header.
I will look into it and come back to you.

V.
Reply
yinc88 Premium
Hi, I know this is a really silly question, but where is the wp-config.php and phpMyAdmin located? Thanks
Reply
caninable Premium
Have you received help Yin? These files are located on the WA server, under the httpdocs folder.
Reply
yinc88 Premium
I'm sorry, I still don't understand. Do I go to build my website tab?
Reply
caninable Premium
No, you must access that folder via FTP. Are you familiar with Filezilla? I recently gained the proper settings and would be able to assist once you have Filezilla installed.
Reply
yinc88 Premium
Thanks so much caninable - I will install and get back to you. May take a couple of days as I am suppose to be working! lol!
Reply
caninable Premium
You're welcome.
Reply
caninable Premium
Once you open Filezilla, select FILE>SITE MANAGER, enter for host: mysite.com (no http:// needed), Choose FTP for the protocol, USE Plain FTP, LOGON TYPE: Normal, Enter your username and password.(Nothing necessary for the "Account" field.)
Should work!
If not, it's probably your firewall, so change that as necessary.
Reply
yinc88 Premium
Thank you so much!
Reply
caninable Premium
Welcome much! Easier than having to ask when the time comes.
Reply
Viterbi Premium
Hello Yin, I was away for a few days.

I see that you are covered by Caninable!

Thank you C. !! :-)
Reply
yinc88 Premium
I have installed Filezilla and now it's saying that I cannot connect to the server - I am really not sure what to do now
Reply
zenincome Premium
Be sure to supply the right credentials hostname, username, password It's in the details of your website
Reply
yinc88 Premium
It's not working. I have followed the directions provided by caninable and it keeps saying 'critical error' 'could not connect to the server'. If it's my firewall, I am not sure how to turn that off. I use mozilla firefox browser - any help would be much appreciated - thanks
Reply
yinc88 Premium
I figured it out! Relief!
Reply
Viterbi Premium
That's great Yin!
Reply
KeithBunge Premium
I am stopped by Norton. It considers Filezilla an unsafe program and will not let me load it. I think Norton is like a virus. It has kept me from using a wamp on my computer even though I got it loaded it will not work. I think I need to go to another protection. However I am blocked by having to buy an antivirus. I get Norton for free from Comcast. I have no choice but to use this as other than a satellite Internet connection the area I am in gives me no other option.Also I do not have the money to buy another paid protection.
I am guessing about Norton blocking me from using a wamp. I guess I am going to have to add to the stuff to learn and trying to do the work on two levels. I may have to boot up in Linux and learn to work in this system as well. I need to have an apache server to use Dreamweaver effectively so if this is my only option I will go this way.
Reply
yinc88 Premium
Is there a CDN provider that you reccomend? Also, how do you go about setting it up?
Reply
zenincome Premium
If your site is hosted on WA, no CDN would work. If your hosting is like BlueHost, CloudFlare or MaxCDN, it can be setup automatically in W3 Total Cache plugin
Reply
yinc88 Premium
Do I need a CDN if I am hosting it on WA then?
Reply
yinc88 Premium
I'm having problems with smush-it. It tells me things like - ERROR: posting to Smush.it and Did not Smush.it due to previous errors - what does this mean? I tried to bulk smush-it and do it individually
Reply
zenincome Premium
Try EWWW Image Optimizer instead, it's not always because of the pics. How many plugins are you using? Try installing P3 (Plugins Performace Profiler) to know what plugins are slowing your site down and use Pingdom (a little bit complicated because you need to check how long each JS call is there)
Reply
yinc88 Premium
Thanks zenincome - will do so :-)
Reply
yinc88 Premium
Awesome! I have noticed my site is slow to load, especially many of my pics - I will try these plugins and see it makes the performance of my site better - thanks!
Reply
lotuschick Premium
Wow1 this was really good info! I have an image heavy site and I'm sure this would help but I'm not sure I'm proficient enough to do it...maybe I should hire someone from fiver to do something like this for me. What do you think? thanks though this was great
Reply
Datshwa88 Premium
I wouldn't go super heavy on images. If you like adding lots of pics try to cut some out that are unnecessary and make them all a bit smaller. This will decrease your load time.

Also a great thing to do is to select a WP Theme that's "Responsive" to mobile devices like phones and tablets. This will def increase your traffic!

Good luck
Reply
DoubleTap Premium
Hmmm, loaded W3 Total Cache a couple of nights ago and it shut my site down. Had to go into the ftp and delete the plugin in order to get my site up and running!
Reply
Datshwa88 Premium
w3 total cache is a good plug in I use it

I do not know why it crashed your site, sometimes the plug-ins glitch out and specifically a plug in like total cache will have an impact on the way a server presents your site to traffic
Reply
caninable Premium
ew-itch!
Reply
christopherM Premium
I visit this post often, because I manage sites for others sometimes. But, I did the auto dump and revisions on my personal blog and it's like it got reset. Now, all of the sudden my revisions are back. Any idea what might cause this?
Thanks
Reply
michael2013 Premium
I'm not sure, chris…after the dump and revisions, did you update (save) the blog?
Reply
christopherM Premium
I figured it out. Thanks for the reply though
Reply
welshy Premium
This is a really great tutorial, Only just come across this tutorial after someone posted link in chat.
I just recently created two video for youtube channel covering Smush.it and Wp Clean Up.
Reply
welshy Premium
I've never used the Gzip option, not sure if WA altered the code or not, but for me to get it to work I had to add " and not ' as seen in this code http://d.pr/n/zq1E
Thanks again
Reply
Viterbi Premium
Thank you for the comment W!! :-)
Reply
Viterbi Premium
Regarding the single or double quotes for the Gzip option, it sound like a PHP configuration issue.

I did some research and came upon the magic_quotes_gpc configuration option which may be enabled in WA's web server environment (not sure though).

If this is the case, then for some servers the single quotes will work, while for others vice versa.

I will investigate this further and update the information accordingly!
Very nice point, thank you!! :-)

V.
Reply
mfickler Premium
I get a "fast server response" as the primary factor affecting page loading. Is this a WA hosting issue?
Reply
Viterbi Premium
When you request a webpage, you initiate a series of actions: web server response, web server processing speed, physical communication bandwidth, local processing of received data (PC), etc.

Server response is one of them and it's very important.

But you need all parts of the chain to be fast for this to show.
Reply
mfickler Premium
can't find header.php file
Reply
mfickler Premium
I have a genesis child theme. It says not to modify any files in the genesis theme
Reply
Viterbi Premium
You can go to your Wordpress Dashboard and then:

Genesis -> Theme Settings - > Header and Footer Scripts.

Then place the code in the box named:
"Enter scripts or code you would like output to wp_head():"

Let me know if you need anything else!
:-)
Reply
mfickler Premium
is zlib enabled on WA hosting
Reply
Viterbi Premium
To find out if zlib is enabled on WA hosting, follow STEP1 actions on page 2.
Reply
Willow Tech Premium
My filzila does not match the above picture.
Reply
Viterbi Premium
Let me know what kind of difficulty you're experiencing with Filezilla.
Reply
Willow Tech Premium
One I heard some CDNs provide free services up to a certain extend. What a torrent is?
Reply
Viterbi Premium
I am not sure I follow you question, can you please re-phrase?
Reply
Willow Tech Premium
Thank you for replying Viterbi. Plug-ins make the site slow but we also need a lot of plug-ins. Where is the solutions?

You said 1TB bandwidth is around 20 dollars a month. Is three any CDN service that provides some bandwidth free of cost. Say some GB?

I heard about Torrent. Is it a CDN service? As far I remember the WIki mentioned few companies providing free services. Not sure now.

I do not see anything like Overhead. I just upgraded few hours ago when I was reading your training.
Reply
Viterbi Premium
Solution? Somewhere in the middle I am afraid. Install only the absolutely necessary plugins for your type of website.

Regarding CDN service that provides some bandwidth FoC (free of charge), try CloudFlaire: https://www.cloudflare.com/

They have a free plan, with no limit on bandwidth (and of course this is NOT an affiliate link of mine :-) )

Torrent has nothing to do with CDNs or Internet Marketing. Learn more about what torrent is here: http://en.wikipedia.org/wiki/Torrent_file

Hope this helps.
V.
Reply
Willow Tech Premium
Thank you Viterbi.
Reply
Willow Tech Premium
The FoC CDN site can not be loaded.
Reply
Viterbi Premium
My mistake, I messed up the URL with the parenthesis I used.
Try the link again, or click the below:

https://www.cloudflare.com/
Reply
Willow Tech Premium
It is said that max 5 plug-ins is good to keep a site fast and light weight. Whenever and where ever I read anything about Wordpress there comes a plug-in(s). How to solve this?
Reply
Viterbi Premium
Hello,

The less plug-ins you use the better, let me explain why:

There are various types of plugins. There are plugins that affect the front-end (e.g. social media plugins). There are plugins that mainly affect the back-end (e.g. Backup Plugins). There are plugins that do both back-end and front-end (e.g. SEO plugins).

Plugins can impact your site's performance by introducing additional HTTP requests and some plugins may require custom scripts to work properly.

Because of this, they may add an extra JS and/or CSS file in the execution time.

There are other plugins that may increase your database queries. If you are using a plugin for related posts, or anything else that makes more database queries and pulls DB elements, this will contribute negatively in your site's performance.

V.
Reply
When attempting to run the SQL query to delete old post revisions, I copied and pasted your exact query code from above, but received the following error:
#1109 - Unknown table 'b' in MULTI DELETE
(This was after already setting my number of post revisions to keep in my wp-config.php)
Reply
Viterbi Premium
Hi,

the number of post revisions to keep in wp-config.php will be applied from now on to your database, so it's fine you did this successfully.

Now regarding the MySQL query to delete the revisions kept so far, please let me know what Wordpress release are you using? Is it before 3.0?
Reply
@Viterbi - I didn't come back and update this thread, but after running that query code and optimizing my tables - oh dear, I had quite a scare. Loading my site was giving database errors, then trying to log into my WP dashboard - it took a long time to get in, then all my pages/posts were giving database errors... logged out, then couldn't even log back in... got database error on the log in screen. I went to make sure that all my MySQL settings were correct in my wp-config.php - they were. I then reset my server with my host (my site isn't hosted here). I was finally able to log in to my site again, and at first was getting "Post Not Found" on all my posts, but after going into each post (like I was going to edit them), then backing out and moving to the next one, I got everything up and running again. I ended up removing the post revisions line from my wp-config.php just in case. I still don't know if it was a hosting problem, a WP problem, a DB problem, a tables problem, or what... but since I didn't have these problems until I ran that query to delete old post revisions and optimized my tables, I figured one of them had something to do with it. I'm no expert with MySQL or DB management, but I don't mind "getting my hands dirty" because I learn by doing. I followed your instructions to the letter, and still ended up with some problems. However, whatever went astray was rectified and it doesn't put me off trying other recommendations.
Now, as far as my WP release, it was/is 3.5.1
Reply
Viterbi Premium
@PCW78: I can't say what went wrong there. Of course there are thousands of different set-ups (web servers, WP settings, releases, etc.) and things can go wrong sometimes.

I have run this query for all my web-sites and I know a lot of people (inside and outside WA) who have used it successfully.

I guess the lesson here is that BEFORE you run any kind of query or attempt to modify your database in any way, make sure you get a backup first.

Thanks for sharing, sorry I couldn't help!
Reply
@Viterbi - No worries, I was backed up. I'm just the kind of person who experiences panic even when there's a backup. My mind forgets the backup and has the "Oh no, it's all gone... GOOOONE!!!" moment before my rational mind takes back over.
Reply
Hey Viterbi, just wanted to come back and say that I know what went wrong. It hit me like a bolt of lightning today... it was my fault, of course, lol. Just wanted to let you know.
Reply
Viterbi Premium
Come on then...SHARE!! :-)
What was it????
Reply
No way!! ;-) It was something that didn't occur to me would cause a problem at the time, but now that I think about it, I *KNOW* that had to be it. I'm not telling, though.. I'm just not ;).
While I have you here, can I ask you a question? What is the best/easiest way to leverage browser caching? When I do a page speed test (any/all of them), it's always the thing I get an F grade on. I think there is an option for it in W3 Total Cache, but there is not in WP Super Cache, which is what I have now. I may switch to Total Cache, but I was just wondering if there was another way to do it while keeping Super Cache. I've seen many pages out there regarding doing it by adding code to htaccess file, but I've heard that some hosts don't support mod_expires on shared hosting. (My site isn't hosted here.)
Reply
Viterbi Premium
Hi, unfortunately I don't know of any other way other than mod_expires through .htaccess.

Yes your host might not give you the privilege to do that. Have you tried it with yours?

One snippet of code to serve your needs, would be the below (make sure you backup your .htaccess file before you make any changes):

<IfModule mod_expires.c>

# Enable expirations
ExpiresActive On

# Default directive
ExpiresDefault "access plus 1 month"

# My favicon
ExpiresByType image/x-icon "access plus 1 year”

# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"

# CSS
ExpiresByType text/css "access 1 month”

# Javascript
ExpiresByType application/javascript "access plus 1 year"

</IfModule>
Reply
reefswimmer Premium
besides all the good tech stuff, there's the Revisions image that I think is a hammerhead shark !. I've seen some hammerheads off the coast of Baja and what staggered me about them in the wild (and no,I was not swimming out there)is indeed, how can they swim at all with that giant head with two huge appendages on it and the eyes way out where they are. Great image for what you were conveying !
Reply
Viterbi Premium
LOL :-)

It's a great image isn't it??? I really enjoyed the way it "fit" the case!!!
Thanks!
Reply
reefswimmer Premium
Viterbi, thx so much for this ! Some of your training here is for me at my present level, and some I realize will wait til I catch up with it. Part of what I like so much is how specific you are with each step. I need that kind of help, and you are giving it .
Reply
Viterbi Premium
Thank you for your comment! You are SO RIGHT!!
There is information you can use at your current level and stuff that you need to come back to, as you move on with your online business!
Reply
bwh1 Premium
Just like to say WOW and thanks a ton for this. I could improve my sites speed a lot using the zlip tip only.

Many thanks again buddy
Reply
Viterbi Premium
Glad you liked it! Thank you! :-)
Reply
PierWalkerSOS Premium
I love the WP Zon Builder plugin, although it does seem to slow down some WP sites more than others. I've got one site - bestfirecovers.com - which runs reasonably fast while another floatingspeakers.org, runs at a snail's pace! Even I get bored with it!
I find the P3 (Plugin Performance Profiler) Plugin lets me measure each site's performance very accurately, which is a great help in getting my sites sorted out.
Reply
Viterbi Premium
Hello,

P3 (Plugin Performance Profiler) is a very good plugin. It will basically show you the impact that your installed plugins has on your overall site performance and speed.

This way, you can narrow down the plugins causing the most delays to your site and re-evaluate if you REALLY want to use them or not.

It has a very nice graphical user interface and it will also give you a very useful (breaked-down) timeline of the loading time of your core WP, your theme and all your plugins.

Thank you for your comment!
Reply
Denisara Premium
Use WP SMUSH IT at your own risk. It screwed my site up, and than I was told to go and play around with filezilla to "see what went wrong", when I just ended up deleting the pictures that this plugin ruined and starting fresh. I think this plugin needs some serious help. but what do you expect from a free plugin. My suggestion?
DON't USE IT
Reply
Pobman Premium
Well as mentioned below I would just use the website to mass upload rather than the plugin. Only takes a tiny bit longer.

Of course if you have already optmized your images manually Smush.IT will not do very much.
Reply
Pobman Premium
One other thing I tend to do is use the Google libraries:

http://jasonpenney.net/wordpress-plugins/use-google-libraries/

Never tested if it really has any positives, just habit!

Oh and people should be aware that most social plugins are really nasty with regards to site speed, only a few seem even capable of loading in the footer. Some talk on that issue here:

http://wordpress.org/support/topic/social-plugins-that-dont-slow-page-speed

The Timeline function of GTmetrix, which is mentioned above on the 1st page, is really useful for tracking down anything silly thats going on with your site. I found a single bit of JS that was putting in a 3-4 second delay on one site loading.
Reply
Viterbi Premium
I wasn't aware of Google Libraries, I will definitely have a look at it.

Regarding social media plugins, you're right. They can be really nasty when it comes to website performance.

Thanks for your comments "Pobman" ;-)
Reply
Pobman Premium
OK turns out Google libraries is a BAD idea.. as you have no control over what versions people are getting and they can be incompatible with the latest Wordpress to some degree... after many hours found out this was why some javascript buttons on our forum were not working after Wordpress 3.4.x was released.
Reply
my site went from 4.3 sec to 1.77 sec just with the z lib compression.
Thanks for the info, Viterbi
Reply
Viterbi Premium
I am glad it helped... :-)
Reply
Denisara Premium
thats pretty great. although i am not about to test another one of these 'speed up ideas' since WP SMUSH IT made my pics disappear and screwed up my site already....maybe if I had more details on this z lib that people that are layman could UNDERSTAND I might try it,, cause my sites could use the speed up. Now I am leary of everything someone suggests here at WA. Not everyone is an expert here, and throwing words around that most don't even understand is just the sort of thing that will turn off and away new WA members. This is something I fear above all else, because I trusted things I learned here before today. Now if it doesn't come with terms that can be understood by the layman I steer clear of. For all of you who want to spit out training stuff, beware that not everyone is at your skill level...all this over abundance of training lately, from some that I truly believe shouldn't be adding to the mix. I think Kyle and Carson need to check peoples training stuff before it gets put out there for anyone to see, especially the newbs. I see this as causing more trouble than is necessary.
Not a happy camper today. Surgery tomorrow and just an venting my opinion before anyone else screws up their sites. W3 Total Cache is one thing that even Kyle or Carson (can't remember which) and Jay warned me against using. Its more geared for sites that have 10k+ visitors day? month? all i know is I was told it was not a good thing to use....
Reply
Viterbi Premium
Good luck with your surgery tomorrow!
Reply
Pobman Premium
@Denisara well I know you have had problems, but I for one am really happy to see some training stuff like this here. Sure W3 Total Cache is not for everybody, and if you are starting out and using shared hosting etc. it almost certainly is not for you. However it is nice to have content on WA that is for the next level. We don't have 10,000 visitors a day, however W3 Total Cache and a CDN have massively decreased page load speeds and server loads, and we run on a pretty decent server anyway.

If I was going to install W3 for the first time I would certainly read more about it before doing so, this guide does not go in to details about each setting. I would also contact my host and ask them if there are any problems with my server configuration, I did actually do that when we installed it and some changes did have to be made.

The most important thing here though is have a backup... and a backup of the backup. If things go wrong you can restore your backup images in a matter of seconds.
Reply
Pobman Premium
I would not suggest most people run with W3 Total Cache, unless your server is setup right you will not see all the improvements from this plugin and you can actually make things worse. If you install it and you only have options for Disk caching, i.e. no APC etc. then I would just jump ship to Super Cache which pretty much works out of the box.

Running with the CDN though is a massive improvement for most people, I now run most sites with static content on cloudfront and the difference is out of this world.

FYI Cloudfront have added Sydney Australia to their CDN... makes them a winner in my book!

Nice guide though.
Reply
Viterbi Premium
I agree: W3 Total Cache, works even better with APC. For those who don't know, APC stands for Alternative PHP Caching and it's an opcode running on the server side which offers a more efficient caching model. In other words, in some hosts you cannot enable it and you have to use the Disk Caching option in W3 Total Cache. For those cases, I fully agree, it's better to use WP Super Cache as your caching solution.

As far as the CDN and CloudFront is concerned, I also think it's one of the best CDN providers around.

Thanks for the comment Pobman!
Reply
Denisara Premium
smush it doesnt appear to work. it does nothing if I 'mass smush' and if I do them one at a time (and I have 364 pics) it times out. any suggestions? here is the error message I am getting: Automatic smushing has been disabled temporarily due to an error. Operation timed out after 20071 milliseconds with 0 bytes received

i tried a few more pics to "smush" and now they show up "BLANK" how do i get them back? this does NOT work
case in point:
http://bonestrivia.com/bones-season-eight-begins/bones-season-eight

this is one pic "smushed" out of about 12 that i tried this on. how do you reverse this ??????

i guess i have to redo that work completely if I want pictures to show UP
Reply
Pobman Premium
smush does work... some of the time.. the problem is the service is totally overloaded and Yahoo clearly dont care to improve things... it works like 1:10 times it would seem... a shame.

However other than getting the error I have never actually had an issue with it damaging a site.
Reply
Viterbi Premium
Sometime Yahoo's server gets overloaded from users doing the same thing as you do. The reason is that Smush.it sends a COPY of your image to Yahoo's server -> It optimizes this copy -> And then downloads it to your website. Next time you try it, it should be fine.

Regarding the problem with the blank picture, I also never had any issues and I also cannot find any similar incidents online. It's very safe, especially because of the way it's working (described above: copy is sent to server, optimized and then downloaded). Even if the process get's stack in the way, your original will stay intact.
Reply
Pobman Premium
There are other plugins which do similar things, though they all seem to require certain resources to be installed on your server which makes them unlikely to work for those on shared hosting.

If you need to 'fix' a whole site and the bulk change tool is not working then using the multiple upload tool at smush.it is almost as easy. Just FTP all your images down, smush and upload. The advantage here is you do get to check each image first. Thinking back to the problem of SmushIt breaking images I have now and then had issues with PNG and transparency...

A lot of people will just rely on the CDN though, because at the speed the CDN works at even large images come down lightning fast. This of course is not solving the problem, just going around it.
Reply
Denisara Premium
funny, I was told that W3 Total Cache is a mistake to use unless you get like over 10k visitors per month by either Jay, Kyle or Carson...among others. The rest of what you say to do does not make sense to a newb such as myself but thanks for the article...maybe it will help someone else
Reply
Viterbi Premium
W3 Total Cache is a really complicated plugin and you have to do your homework if you want to start playing with the advanced options it provides.

I also agree with the opinion that W3 Total Cache might perform even better in more popular sites (sites receiving more visitors). For less popular sites, WP Super Cache could be more efficient and easy to use.

Bottom line: Each site is different and you can test both options (or even other ones as well) to see what works best for you. The point here is that your website would be far more efficient and optimized if you integrated a caching solution to it (whatever that is).

P.S. I tried to make this training as "newb-friendly" as possible :-)
So please let me know where you need support and I'll do my best to help!
Reply
Viterbi Premium
Thank you Roger!
Reply
morlandroger Premium
WOW this is very comprehensive! Will come back to it and look at some of my sites again with a view to speeding up load times. Thanks for this
Reply