AOEpeople/magneto-varnish

Name: magneto-varnish

Owner: AOE

Description: Magento extension that implements full page caching using Varnish

Created: 2014-03-06 13:04:15.0

Updated: 2014-11-13 20:21:09.0

Pushed: 2014-06-06 08:44:51.0

Homepage: http://moprea.ro/2011/may/6/magento-performance-optimization-varnish-cache-3/

Size: 160

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Under Development

Implements ideas posted on http://moprea.ro/2011/feb/16/magento-performance-optimization-varnish-cache-2/ and http://www.kalenyuk.com.ua/magento-performance-optimization-with-varnish-cache-47.html.

Features
  1. Enable full page caching using Varnish, a super fast caching HTTP reverse proxy.
  2. Varnish servers are configurable in Admin, under System / Configuration / General - Varnish Options
  3. Automatically clears (only) cached pages when products, categories and CMS pages are saved.
  4. Adds a new cache type in Magento Admin, under System / Cache Management and offers the possibility to deactivate the cache and refresh the cache.
  5. Notifies Admin users when a category navigation is saved and Varnish cache needs to be refreshed so that the menu will be updated for all pages.
  6. Turns off varnish cache automatically for users that have products in the cart or are logged in, etc.)
  7. Default varnish configuration offered so that the module is workable.

Screen shots: https://github.com/madalinoprea/magneto-varnish/wiki

Instalation instructions
  1. Make sure you have modman installed:

    
    curl http://module-manager.googlecode.com/files/modman-1.1.5 > modman
    chmod +x modman
    sudo mv modman /usr/bin
    
  2. Clone the git repository:

    
    cd [magento root folder]
    modman init
    modman magneto-varnish clone git://github.com/madalinoprea/magneto-varnish.git
    

In case you get an error that git is not found, you'll have to install git and rerun the last command. This can be done like this on Ubuntu: sudo aptitude install git-core

  1. Flush Magento cache to enable the extension
Uninstall

Delete project checked under modman folder and clean created symlinks.

cd [magento root folder]
rm -rf .modman/magneto-varnish
modman clean
Requirements
  1. Apache started and listening on port 81 (Varnish configuration is using this port)
  2. Varnish installed and listening on port 80; please use the config from repo
  3. Varnish servers configured in admin

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.