Bài đăng

Đang hiển thị bài đăng từ Tháng 3, 2015

Zabbix Configuration Action for sending email Alert

Hình ảnh

How to Optimize Varnish Cache server for WordPress Blog.

Hình ảnh
For optimizing Varnish cache server for WordPress you need to tell varnish  server, which pages of your site to cache and which one not to cache. You need to write rules to normalize URL’s, time to serve content from cache and much more. All is possible by using the Varnish VCL, Language, the more you optimize your varnish VCL more you can handle the traffic. Some points when using Varnish to Cache WordPress Blog. Don’t cache WP-admin, so you can Login to WordPress dashboard. Forward user IP to Backend Apache server so WordPress can obtain an origin IP in the comments instead of Varnish cache server IP address. Remove cookies from static pages so that Varnish can cache Pages Properly. Auto purge (Remove cached content) Varnish cache when someone comment or you publish new Post. Don’t cache WordPress Post preview, to keep that feature working. Don’t cache sitemap Page of your site, else when you purge your cache search engine bots again read your site whole sitemap . (Thi

Configure NginX, PHP-FPM, APC & Varnish For WordPress

This guide will show you how to configure varnish for WordPress along with APC, NginX and PHP-FPM.  Wordpress has gained massive popularity and currently accounts for a decent slice of the internets webpages.  In the recent years, the makers of WordPress have seen a massive surge in its community, bringing new plugins and themes to the table.  It is incredibly extensive and the api vast, but with this expansion also comes a problem.  Wordpress is not known for vetting plugins, so whenever you install a free plugin, or even some paid plugins, you run the risk of introducing poor code into your site.  Perhaps code that will either break functionality, or slow your site’s speed down to a halt. This guide assumes that you have knowledge of WordPress and that you are proficient using command line in a server environment.  Enough talk, Lets dive into a setup that I personally use on all my WordPress blogs to keep content flowing smoothly and most of all, fast! 1. Install NginX, Varn