This document discusses how to speed up a WordPress website through caching and optimization, including using caching plugins like W3 Total Cache to cache pages, databases, and browsers; selecting reliable themes and plugins; choosing an appropriate hosting provider; and configuring server-level optimizations like Nginx and caching databases for larger sites with high traffic. Proper testing and version control is also recommended before deploying optimizations.
2. Who Am I?
● M Asif Rahman
● CEO, A. R. Communications (ARCom in short)
● Company: ARCom.com.bd
● Blog: Asif.im
● @Asif2BD
3. What I Do?
● Working With WordPress Since 2004
● Founded ARCom in 2007, and Working as CEO
● We have 500+ web property
● We run site like TheTechJournal.com with monthly
14 Million traffic
● We also run site like TheWPTheme.com,
WPDeveloper.net etc etc
4. What is this Session About?
● Caching in WordPress
● Optimization in Brief
● Configuring your WordPress
● Selecting Themes & Plugin
● How to select Hosting
● What Plugin to use for Caching?
● Basic Settings for W3 Total Cache
● Advance Setting for W3 Total Cache
5. Is this Session for you?
This is perfect for you if ..
● Just made a simple blog
● Running a medium traffic site
● Important but low traffic business site
● High traffic but static page type site
● Highly dynamic site
● Your site have millions of monthly traffic.
6. What is Caching in WordPress?
Image Credit: kidnapcustomers.com
8. Hosting Comes First:
● Is Shared Hosting For You?
● Difference between Dedicated Or Shared
Hosting
● What About Cloud Hosting?
● How hosting is related with site performance
and security?
9. Selecting Themes
● Select Reliable GPL themes
● Avoid themes from untrusted source
● For a important and mid-to-high traffic site
avoid themes with unused function
● Get a custom theme according to your need,
maybe when you have grown enough.
10. Use Plugin Carefully
● Use plugin that you really need
● Avoid Plugins from Un-trusted source
● Use "P3-Profiler"
● For Mid-to-popular site consider making
your own plugins with all the functionality
you need
11. Basic Tips Of WordPress
Setting
● Configure Permalink.
Nobody likes example.com/?p=123
● Keep post-id in permalink.
● Example permalink structure
instead of "/%category%/%postname%/"
Use "/%category%/%post_id%-%postname%/
13. Basic W3 Total Cache Setting
Use Those Setting
● Page Cache: Disk Enhanced
● Minify: Disk (Default)
● Database: Disabled
● Object Cache: Disk
● Browser Cache: Disk
14. Advance W3 Total Cache
Setting
Use Those Setting
● Page Cache: Disk Enhanced
● Minify: Memcached
● Database: Disabled
● Object Cache: APC
● Browser Cache: Memcached
15. Test Performance
Use Tool like
1. http://tools.pingdom.com/fpt/
2. http://www.webpagetest.org/
3. https://developers.google.
com/speed/pagespeed/insights
Use same configuration. Clean cache then test
and compare the result.
16. DNS Level Cache
CloudFlare rocks!
Free service will save your Bandwidth and will
give you security.
Premium service will speed up your site with
RocketLoader
Install CloudFlare plugin.
17. Tweak From Server
1. For larger site use nginx, you could use
LNMP server too.
2. Cache database from MySQL to save db
query.
3. Use Cloud with OS that leaves lower
footprint.
18. Test & Be Bold To Deploy
● Start using SVN for development version
control.
● Test your setup
● Use github
19. Questions
You are free to ask anything for next __ Min.
Full Slides and Resource at asif.im/wco12