WordPress with Varnish

WordPress is a one of the most well-known open source content management systems (CMS) existing today. If you have a WordPress site and want to implement a caching solution, Varnish may be right for you. Depending on the amount of traffic and the complexity of your WordPress theme, performance maybe lagging. Varnish Cache is your recommended solution.

Moreover you are not the first to want to do this. There are millions of WordPress websites using Varnish and some of the popular cache plugins written by other Varnish-WordPress users.

Implementing WordPress with Varnish

Varnish is easy to set up and use. Since we have an open source project you are always welcome to try our community edition and contribute your fair share of new libraries, plugins and features.

So where in WordPress will you be integrating Varnish?

Installation

If you are ready and just want to get started with the installation go to:

Step by step Installation guide to make your website fly!

Please note that WordPress supports:

varnish 3 and varnish 4.

Each new upgrade includes a section about the changes that have been made.

We strongly recommend that you upgrade to Varnish 4 as we no longer provide support for Varnish 3.

To make your life easier, there is a script:

VCL Migrator, which can help you upgrade from Varnish 3 to Varnish 4.

Integration

Log in to your WordPress administration page at http://yourdomain.com/wp-admin using the username and password you configured.

  • Select Plugins
  • Add New from the left sidebar menu
  • Search for Varnish plugins
  • Choose plugin
  • Click on Add Plugin
  • After the plugin is added, activate plugin