def varnish_install(): """ Build and install varnish HTTP accelerator """ varnish = bungeni.VarnishTasks() varnish.setup_varnish() varnish.create_vlc_file()
def varnish_purge(): """ Warmup the varnish cache """ varnish = bungeni.VarnishTasks() varnish.varnish_purge_cache()
def config_varnish(): """ Generates the varnish configuration file (VCL) """ varnish = bungeni.VarnishTasks() varnish.varnish_config()