Re: [E] Fwd: Lua plugin development - Global Variables

2022-07-14 Thread Vishal Garg
ap" will be getting the "HOSTNAME" to be > used in a header. > > Perhaps you can elaborate more on your script and your use case. Maybe > I am not fully clear on your needs. > > Thanks. > > Kit > > On Thu, Jul 14, 2022 at 11:15 PM Vishal Garg > wrote: > >

Re: [E] Fwd: Lua plugin development - Global Variables

2022-07-14 Thread Vishal Garg
a API. Can you keep the data in a file, perhaps on a RAM disk > to > > make access fast? > > > > On Wed, Jul 13, 2022 at 4:41 AM Vishal Garg > > wrote: > > > > > Hey, > > > ATS Version: v9.1 > > > OS: Ubuntu 22.04 > > > > > > I

Fwd: Lua plugin development - Global Variables

2022-07-13 Thread Vishal Garg
implementation loads config from Redis on each request and stores it in ctx to be used in multiple stages of a request. Is there a global variable available in Lua which I can initialize for the entire lifetime of ATS running and can be accessed by all requests? Thanks in advance -- *Vishal Garg* Site