Many people have a blog that is not optimized for loading speed.
One of the problems of a WordPress blog is – the more plugins you install the worse the loading speed will get.
ATTENTION: BACKUP YOUR FILES/DATABASE BEFORE CHANGING ANYTHING
Using The W3 Total Cache Plugin To Boost The Loading Speed
What you should do to boost the loading speed?
Settings In The Browser Cache Section Of The W3 Total Cache Plugin
When the W3TC plugin is installed and in it’s default state there are some settings that need to be checked.
– Set expires header, Set cache control header and Set entity tag (eTag) activated in all 4 sections.
– Enable HTTP (gzip) compression activated in General and Media & Other Files sections.
That’s it. Save changes and deploy it.
W3 Total Cache And.htaccess Files
To get things working as you need it you have to get some.htaccess files and other “Tools” installed/configured.
Head over to the Install section of the W3TC plugin.
In this section everything is described well, so you should normally get no problems. In case you have any problems you can check with Google or post your problem at the WordPress forum.
Activating Minfy And The Content Delivery Network Options
Now go to your W3 Total Cache General options and activate Minify and Content Delivery Network. Choose Self-hosted / File Transfer Protocol Upload for your CDN settings.
W3 Total Cache General Options
Save changes and move on to the next step.
First we should combine all CSS files to one file and get it minified.
Add all CSS files that your blog is loading to the W3 Total Cache Minify CSS option.
Press Save changes and follow the instructions of W3 Total Cache. It’s really easy.
Okay, now we will get a combined and minified CSS file.
Preparing The Content Delivery Network
Well, before you can use the CDN option you need to insert your FTP username and password, and if a path if you need.
In my case, since I am using a subdomain that goes into a folder of my cookieless domain and I am connecting to the FTP with the main user, I need to set the path.
When you inserted your FTP username, FTP password and all other settings are correct you should press Test FTP server.
If everything went OK (Test passed) you can press Save changes.
Maybe you have to play with Passive Mode and/or SSL settings, if they are supported by your host/server.
After the connection from your blog to the FTP server is working you need to click on importing attachments into the Media library and then exporting media library to CDN.
Now a popup will open and you just need to press Start. The media library files will now get exported to your CDN (self-hosted FTP).
Exporting The Combined And Minified And Other Files
In my settings I have checked the following in the General CDN Options:
* Host wp-includes/ files
* Host theme files
* Host minified CSS and JS files
* Host custom files
The custom files are defined in the Advanced settings.
W3 Total Cache CDN Advanced Settings
You can see that I have added the folder wp-content/plugins/* to get the whole plugins directory exported to the FTP Server. I did that mainly because of the SexyBookmarks plugin.
Now it’s time to export the files.
W3 Total Cache Exporting Other Files
Click on the button Upload includes files and a popup will open. Click on Start to get the wp-include files exported.
Next is Upload theme files, then Upload minify files and the last one is Upload custom files.
After exporting you should click deploy and then empty all caches.
The settings in the sections Database Cache, Object Cache and User Agent Groups were not changed.
Testing The Loading Speed Of Your Blog
Okay, time to test everything.
For me the process went smooth and well. The loading speed increased a lot and it was worth the time I had to spend to get it working like it is now. FAST.
About Michael Pehl: 39 years old Front-End Developer and System Engineer. At the moment I am very focused on optimizing websites/blogs to get the maximum loading speed. On my blog Cookieless Domain I am explaining different techniques how to get a massive loading time boost. You can contact me any time and ask for help. Feel invited to discuss with us on my blog. (c) Copyright Michael Pehl - All Rights Reserved Worldwide. Article Source: http://EzineArticles.com/?expert=Michael_Pehl