how to create variables

Per Buer perbu at varnish-software.com
Wed May 23 21:02:52 CEST 2012


Hi Arun,

On Wed, May 23, 2012 at 2:42 PM, Arun Dobriyal <arundobriyaliitkgp at gmail.com
> wrote:

> "How can I create string variables in the default.vcl file... Is it
> possible to create variables and then use them.."
>

Have a look at Tollefs excellent Variable VMOD.

https://www.varnish-cache.org/vmod/variable-support

Also, as Tobias mentioned. The old school way is to stuff things into HTTP
headers. :-)
-- 
Per Buer
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120523/7232dab4/attachment.html>


More information about the varnish-misc mailing list