W3 Total Cache:
W3 Total Cache is one
of the best caching plugin for WordPress. It improves your dynamic site performance by reducing page loading time, minifying, content delivery
networking and so more. It's a powerful caching plugin for all WordPress blog. However,
it's a little bit confusing to configure this plugin properly for WordPress.
Moreover, in NGINX, you have to do some extra tweaks so that it can work
perfectly on NGINX webserver. In this tutorial, I'll show you how to install
this plugin and configure it properly in WordPress and NGINX web
server.
Installing W3 Total Cache plugin:
1. Login in your wordpres admin panel/dashboard.
2. Go to "Plugins" menu from left and from drop
down menu, click "Add new"
3. In search box, type "W3 Total Cache"
4. Click "Install Now" button
under " W3 Total Cache" & confirm the dialogue box.
5. After successfully install, click, "Activate
Plugin"
Configuring W3 Total Cache:
1. After enabling the plugin, click "Performance" option from left menu.
2. Enable "Page Cache". In "Page Cache
Method" section, select "Disk Enhanced" from drop down menu.
3. Enable "Database Cache" & form "Database
Cache Method", select "Opcode: Alternative PHP Cache (APC)".
4. Scroll down. In "Miscellaneous" section, add
this address in "Nginx server configuration file path" field
/home/public_html/nginx.conf
Note: You can specify any directory instead of /public_html folder/directory.
5. Click "Save all settings"
Configuring in NGINX:
1. Login in your webmin control panel as root.
2. Go to Webmin tab > Servers> Nginx webserver
3. Click "Edit Configuration Files"
4. Scroll down until you find location ~ \.php$ block
5. Just above of this block, add this line
include /home//public_html/nginx.conf;
6.
Click "Save"
7. Restart NGINX webserver.
W3 Total cache plugin successfully configured for NGINX.
No comments:
Post a Comment