Posts tagged with: Varnish

Magento performance optimization with Varnish cache

OVERVIEW

After installing Magento on hosting you probably have a desire to optimize its work.

Google offers solutions, which consist on using one of the following options: installing higher-performance hardware, correction for mysql/php configuration, using PHP accelerators, accelerate downloads JS and CSS, the correction assignment expires date for content, customization Magento core files to fit your needs.

Varien released a book titled “Enterprise Edition Whitepaper High Performance eCommerce” which explains the above methods of  Magento optimization. I recommend reading this book and use the described methods of optimization.

I propose another new approach for the optimization of Magento, which was not described in the Internet before. I propose to use Varnish for caching pages.

What is Varnish you can read here. Varnish handles the request, looks in the cache this page and, if such page is found, returns it. If the page is not found in the cache – a request sent to Apache. This approach allows you to create any number of dynamic pages.

Continue Reading



Varnish Cache

What Is Varnish?

Varnish is an HTTP accelerator designed for content-heavy dynamic web sites.
Varnish was designed from the ground up as a reverse web accelerator for inbound traffic.

Varnish Installation

Installation was tested on Ubuntu 9.04, 2.6.28-17-generic with Vanish 2.0.6

Download the latest Varnish version.
Extract the archive. Then

sudo ./configure
sudo make
sudo make install

You can find VCL flow here.
Continue Reading