WordPress Nginx proxy cache integrator

Need for Speed?

This plugin handles the wordpress/php side of a statically cached nginx-fronted wordpress (or wordpress mu) site. It makes WordPress emit an "X-Accel-Expires: 0" header when a user is logged in or has taken actions that should cause them to get a customized page on your frontend. This - along with the nginx configuration below - will ensure logged-in users aren't impacted by your static nginx cache.

Why would you want to statically cache wordpress with nginx?

  • INSANE performance. Hardware that could generate 6 pages / second can now generate many thousands.
  • Low resource usage. Even on very busy servers, nginx uses only a handful of RAM.
  • Unobtrusiveness. You plop nginx in front of wordpress and that's pretty much it. This plugin (and nginx) is all you need to make your site digg- and slashdot- proof.
  • Stability. Nginx is rock solid.
  • Faster is better. All the web gurus agree - visitors like faster sites, even when the differences are slight.
  • Do more with less. Using a frontend proxy lets you keep your heavy wordpress apaches lightly loaded, letting you handle more concurrent connections and use less RAM.

We've been using a caching nginx proxy at the fairly busy blogs.law.harvard.edu since September, 2009. The results have been dramatic: we've halved the amount of RAM we need, doubled our outgoing network throughput (nginx is fast!) and have had essentially no significant load spikes.

Drawbacks

There are a few.

  • Plugins that rely on php code running on each page view won't work properly. This is similar to wp-supercache or any of the other static caching plugins. Stats, image rotation, etc. You should implement these features via javascript or third-party services, depending.
  • You need to install and configure an nginx frontend proxy - but see the "installation" tab. It's really not that hard.
Notes
  • It is completely harmless to install and activate this plugin before you've got the nginx side set up.
  • YOU MUST keep this plugin activated as long as you've got an nginx frontend proxy active - otherwise, you'll end up caching too much of your site, and authenticated users won't see customized pages.
  • This plugin helps speed up access for authenticated users mainly because it makes all other traffic a negligible resource drain. I suggest installing apc (or another opcode cache) and - alternatively - a wordpress object cache. Definitely install an opcode cache - leave the object cache for later. You may find you don't need it!

Cache Buddy

Minimizes the situations in which logged-in users appear logged-in to WordPress, which increases the cacheability of your site....

Similar: 50%

NGINX Cache Optimizer

The main functionality of NGINX Cache Optimizer is to purge your NGINX cache whenever your content updates. For example, when you create a new post, someone comments your articles, etc. In addition to that, if you have a working Memcached service on your server, the plugin will allow you to easily c.........

Similar: 43%

NIX Gravatar Cache

Caches Gravatars to your host and speed up your site....

Similar: 34%

Widget Output Cache

Use PHP output buffering to extract widget output and store it into WordPress transients for faster retrieval. It also adds a checkbox to widget controls to exclude it from being cached. It is a quick fix for bad behaving plugins that parse RSS feeds or call remote URLs on every page load....

Similar: 28%

Nginx Cache

Flush the Nginx cache (FastCGI, Proxy, uWSGI) automatically when content changes or manually within WordPress. Requirements: The Filesystem API needs to be setup so it won't ask for credentials. Nginx and PHP need to either run under the same user, or the PHP user needs write access to Nginx's ca.........

Similar: 19%

Quick Cache (Speed Without Compromise)

/*************************************************************/ NOTICE: This plugin is no longer maintained. Quick Cache is now ZenCache! See also: ZenCache on WordPress.org /*************************************************************/ If you care about the speed of your site, Quick Cache is o.........

Similar: 13%

Admin Flush W3TC Cache

Adds "Empty All Caches" link to the top of every Admin page. Clicking the link clears all caches and returns you to your current page. No need to go to Performance options anymore, just clear the cache from wherever you are. Requires the W3 Total Cache plugin, so make sure it is installed and activ.........

Similar: 8%

W3 Total Cache

The only WordPress Performance Optimization (WPO) framework; designed to improve user experience and page speed. Recommended by web hosts like: Page.ly, Synthesis, DreamHost, MediaTemple, Go Daddy, Host Gator and countless more. Trusted by countless companies like: AT&T, stevesouders.com, matt.........

Similar: 5%

Wordfence Security

THE MOST DOWNLOADED WORDPRESS SECURITY PLUGIN Wordfence starts by checking if your site is already infected. We do a deep server-side scan of your source code comparing it to the Official WordPress repository for core, themes and plugins. Then Wordfence secures your site and makes it up to 50 times.........

Similar: 5%

G2 a Web Application Firewall

A WordPress security plugin that protect your website from hacks and malware....

Similar: 5%