Re: Migrating from Varnish

2017-11-29 Thread Andrei
Would it be possible to use the Redis module to track cache? For example, I would like to log each "new" cache hit, and include the URL, cache expiration time, and possibly the file it's stored in? On Nov 23, 2017 23:51, "itpp2012" wrote: > Andrei Wrote: >

Re: Migrating from Varnish

2017-11-23 Thread itpp2012
Andrei Wrote: --- > Thanks for the tip. Have you ran into any issues as Maxim mentioned? > Not yet. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277462,277487#msg-277487 ___ nginx

Re: Migrating from Varnish

2017-11-23 Thread Andrei
Thanks for the tip. Have you ran into any issues as Maxim mentioned? On Thu, Nov 23, 2017 at 11:53 AM, itpp2012 wrote: > Andrei Wrote: > --- > > I'm aware of the paid version, but I don't have a budget for it yet,

Re: Migrating from Varnish

2017-11-23 Thread Andrei
Hello, On Thu, Nov 23, 2017 at 11:52 AM, Maxim Dounin wrote: > Hello! > > On Thu, Nov 23, 2017 at 10:24:19AM -0600, Andrei wrote: > > > > > - Does anyone have any recent working documentation on supported > > > > modules/Lua scripts which can achieve wildcard purges as well

Re: Migrating from Varnish

2017-11-23 Thread itpp2012
Andrei Wrote: --- > I'm aware of the paid version, but I don't have a budget for it yet, > and > quite frankly this should be a core feature for any caching service. > Are > there no viable options for the community release? It's a rather

Re: Migrating from Varnish

2017-11-23 Thread Maxim Dounin
Hello! On Thu, Nov 23, 2017 at 10:24:19AM -0600, Andrei wrote: > > > - Does anyone have any recent working documentation on supported > > > modules/Lua scripts which can achieve wildcard purges as well as specific > > > URL purges? > > > > Cache purging is available in nginx-plus, see > >

Re: Migrating from Varnish

2017-11-23 Thread Andrei
Hello Maxim! On Nov 23, 2017 17:55, "Maxim Dounin" wrote: Hello! On Thu, Nov 23, 2017 at 09:00:52AM -0600, Andrei wrote: > Hi all, > > I've been using Varnish for 4 years now, but quite frankly I'm tired of > using it for HTTP traffic and Nginx for SSL offloading when

Re: Migrating from Varnish

2017-11-23 Thread Maxim Dounin
Hello! On Thu, Nov 23, 2017 at 09:00:52AM -0600, Andrei wrote: > Hi all, > > I've been using Varnish for 4 years now, but quite frankly I'm tired of > using it for HTTP traffic and Nginx for SSL offloading when Nginx can just > handle it all. One of the main issues I'm running into with the

Re: Migrating from Varnish

2017-11-23 Thread Andrei
To follow up on the purge implementation, I would like to avoid going through the entire cache dir for a wildcard request, as the sites I have stack up over 200k objects. I'm wondering if there would be a clean way of taking a passive route, through which cache would be invalidated/"refreshed" by

Migrating from Varnish

2017-11-23 Thread Andrei
Hi all, I've been using Varnish for 4 years now, but quite frankly I'm tired of using it for HTTP traffic and Nginx for SSL offloading when Nginx can just handle it all. One of the main issues I'm running into with the transition is related to cache purging, and setting custom expiry TTL's per