2

I have heard conflicting views on whether a EE site running FPC can also run Varnish, or whether to run Varnish, FPC must be disabled. Any help greatly appreciated.

3

If you take a look at the installation instructions for the most popular Varnish extension for Magento: https://github.com/nexcess/magento-turpentine/wiki/Installation

Clear the Config, Layout, and Block HTML caches and disable the Full Page Cache cache (if it is available and enabled) in System > Cache Management, then logout and log back in.

The reason for this is that they share the exact same purpose, with Varnish, you don't need FPC any more.

  • 1
    I have to disagree with this, as they can compliment one another but not through the use of Magento modules. Those serve the purpose of caching the entirety of the site with Varnish. Instead I'd propose a very small Varnish configuration to only cache those without logged in/basket cookies. Basically customers who are "window shopping" and are of little value to the website. – Dave Sep 11 '14 at 8:35
  • This answer is true only if you are using that particular module. Varnish, itself, is one layer in the system. – Kevin Schroeder May 12 '15 at 14:30
4

Varnish and FPC can be used great together. Serve Varnish pages for those who are simply window shopping and once they become a customer (login or add an item to their cart) you switch them over to FPC.

Varnish is great for static content and FPC is great at speeding up Magento with dynamic content. Bring them together and you'll have a very good customer experience. You'll need to finely tune your Varnish configuration or you may run into issues along the way.

1

FPC's and Varnish both cache at the page level. So never use a FPC with Varnish unless it's specifically meant to work with Varnish. You won't get better results by using both, but you will likely run into problems with customer specific content in it. You should choose one or the other.

Should you choose the FPC route, we have a Full Page Cache extension that we have been developing and supporting for a number of years. Brim's Full Page Cache, http://ecommerce.brimllc.com/full-page-cache-magento.html.


We follow the best Magento coding practices for our extension, and no core Magento files ever need to be touched. We also play as nice as possible with other extensions. We have full support for hole punching, multiple stores, currencies, languages, etc. On top of it all, we have a 15 day refund policy and great support should you need it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.