how to create variables

Arun Dobriyal arundobriyaliitkgp at gmail.com
Thu May 24 06:06:26 CEST 2012


Thanks Per and Tobias..  http headers is a good way :)



On Thu, May 24, 2012 at 12:32 AM, Per Buer <perbu at varnish-software.com>wrote:

> 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>
>
>
>


-- 
Arun Dobriyal,
Fifth year Dual Degree Student,
Department of Computer Science and Engineering,
Indian Institute of Technology, Kharagpur,
India.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120524/24c739c9/attachment-0001.html>


More information about the varnish-misc mailing list