django-varnish 0.1

Integration between Django and the Varnish HTTP accelerator using the management port using telnet

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Justin Quick
HOMEPAGE:
opensource.washingtontimes.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
Varnish is a state-of-the-art, high-performance HTTP accelerator. For more information checkout the Varnish website.

Django Varnish works with Varnish server(s) to manage caching of object pages. It allows you to monitor certain models and when they are updated, Django Varnish will purge the model's absolute_url on your frontend(s). This ensures that object detail pages are served blazingly fast and are always up to date. You may also go in and manually tweak things (such as your VCL configuration) using a management command.

Django Varnish requires the varnish python bindings

Put varnishapp in your INSTALLED_APPS then set a few more settings.

VARNISH_WATCHED_MODELS is a list of installed models whose absolute_urls you want to purge from your Varnish cache upon saving. Example: ('auth.user','profiles.profile')

VARNISH_MANAGMENT_ADDRS is a list of Varnish cache addresses (containing their management ports). Example ('server1:6082','server2:6082')

The management command varnishmgt is also now available and just blindly executes passes commands and prints the results. Example $ ./manage.py varnishmgt purge_url "/"

Last updated on December 10th, 2009

requirements

#HTTP accelerator #Django Varnish #Varnish integration #Django #Varnish #integration #HTTP

Add your review!

SUBMIT