Varnish Cache – Best performance for Magento

Raphael Thiel —  June 18, 2013 — 1 Comment

main

As a fact we know that a slow Magento shop destroys the shopping experience. Further issues are bad search engine results and lower conversion rates.

In this article we like to answer the question why you should take a Varnish Cache for your Magento Shop.

What is Varnish?

One of the fastest known cache technology is Varnish. The technical principle of Varnish is that a user hits the Varnish server first before the request gets redirected to the web server if no cache version is available. If Varnish has found a cached version of the requested url, the page will be delivered directly from the ram which takes only some milliseconds. The response time will be around 35 milliseconds + latency.

Varnish is a http accelerator. It can be used as load balancer, failover system and as caching reverse proxy, which make every Magento shop as fast as light! The configuration language for varnish is called „VCL“ which will be translated and compiled into C code. Because a varnish server operates directly on your server in C code, it is extremely fast. Every cache content will be directly delivered out of the server memory.

Benefits of a Varnish Cache

Up to 250x Faster Magento

Varnish is ultra fast. By a lot tests, we can confirm Varnish delivers most pages per second.
The Varnish Cache has an outstanding flexibility which allows you to customize the extension to your needs. Learn more

Customer Satisfaction

More customer satisfaction, a better conversion rate and revenue is positive effect of a a faster magento shop.

  • Shopzilla boost in performance resulted in a 25% increase in pageviews and 
a 9.5% increase in revenue.
  • Improving the magento shop performance will improve shop ranking in search engines.

Developed by Experts

Our core team has developed the Varnish Cache Extension. With more than 4 years experience with magento and >= 10 years php development experience. We deliver clean and extendable source code.

Benchmark: Varnish Cache for Magento

We created this benchmark to compare the performance between the different caching types.
The MGT High Performance Server Stack with Varnish is the fastest combination.

You can take a look at the very impressive results:

Benchmark

How does Varnish Cache works for Magento ?

The next graphic below will give you an overview about how the Varnish Cache works in combination with Magento:

Varnish

Varnish Cache as Cluster in a Magento Multi Server Setup on Amazon AWS

Varnish Cluster Multi Server Environment

Showcases of our customers

Magento Community

  • Multi Server Environment
  • 2 Nginx Webserver
  • 1 RDS Master
  • 1 RDS Slave Replication
  • 1 Redis Server
  • 1 NFS Server
  • 1 Elastic Cache Cluster
  • 1 Varnish Cache Cluster

Magento Community

  • Multi Server Environment
  • 2 Nginx Webserver
  • 1 RDS Master
  • 1 Redis Server
  • 1 NFS Server
  • 1 Elastic Cache Cluster
  • 1 Varnish Cache Cluster

Magento Community

  • Single Server Environment
  • 1 Magento High Performance Stack
  • 1 Redis Server
  • 1 Varnish Cache

Magento Community

  • Single Server Environment
  • 1 Magento High Performance Stack
  • 1 Redis Server
  • 1 Varnish Cache

Features of the MGT Varnish Magento Extension

Automatic purging
Catalog, Product detail and cms pages are purged automatically. You can also purge a specific store or a specifc url.

Supports multiple stores and currencies
Our extension supports multiple stores and currencies.

Multi Server (Cluster) Support
You can define one or more varnish server which is an important for high availability.

Excluded Routes
By default the shopping cart, checkout, customer area will not be cached. The excluded routes can canfigured in the magento backend.

Cache Lifetime for specific routes
You can define a specific cache lifetime for specific routes. In general cms pages should have a higher cache lifetime than product detail pages.

Mobile ready
Varnish stores two versions of your magento shop, one for pc customers and one for mobile.

Screenshots of the Varnish Cache Extension by MGT

Varnish Cache Extension

jpeg-1

What do you need to run Magento with Varnish Cache?

For running a Varnish Cache you need a professional Varnish Cache Extension and well configured Varnish server. The Varnish extension and the varnish server configuration must be work hand in hand for a perfect result.

If you don´t like to do the configuration by your self you can buy this as service from mgt.

You like to get the best speed for Magento? Checkout Varnish!

If you like to get the best performance check out the following site:

Varnish Cache for Magento

You will get varnish running on a high performance server environment which is optimized for highest performance.

One response to Varnish Cache – Best performance for Magento

  1. Magento Varnish integration is new concept in the ecommerce market. You have shared a really good information about it.

Leave a Reply

*