Backend PHP Code for 'Getting Started with Varnish'