
arundobriyaliitkgp at gmail
May 23, 2012, 9:06 PM
Post #4 of 5
(350 views)
Permalink
|
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>wrote: > Hi Arun, > > On Wed, May 23, 2012 at 2:42 PM, Arun Dobriyal < > arundobriyaliitkgp [at] gmail> 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.
|