Skip to content

bighappyface/esi-demo

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Edge Side Includes Demo

Requirements

Vagrant

Running Demo

1. Boot virtual machines

vagrant up

2. Evaluate Requests

Accessing VMs

vagrant ssh web
# or
vagrant ssh edge

varnishtest example

# from within "edge" VM
cd /vagrant
varnishtest response-cache.vtc

VCL editing

When the edge VM is provisioned the default.vcl file is copied to /etc/varnish to replace the default VCL.

The default.vcl file includes /vagrant/actual.vcl which is the VCL file containing the actual VCL code.

You can make adjustments to actual.vcl on your workstation and then reload them from within edge VM as follows:

# from within "edge" VM

# live reload
sudo service varnish reload

# or

# hard restart
sudo service varnish restart
# from within "edge" VM
cd /vagrant
varnishtest response-cache.vtc

More reading

Varnish test resources

About

Edge Side Includes Demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published