Skip to content

madalinoprea/magneto-varnish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  1. 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

About

Magento extension that implements full page caching using Varnish

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages