Welcome! Log In Create A New Profile

Advanced

Re: Migrating from Varnish

Andrei
November 23, 2017 10:26AM
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 subsequent requests. As in I send a purge
request for https://domain.com/.*, and subsequent requests for cached items
would then fetch the request from the backend, and update the cache. If
that makes any sense..

On Nov 23, 2017 17:00, "Andrei" <lagged@gmail.com> 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 transition
> is related to cache purging, and setting custom expiry TTL's per
> zone/domain. My questions are:
>
> - Does anyone have any recent working documentation on supported
> modules/Lua scripts which can achieve wildcard purges as well as specific
> URL purges?
>
> - How should I go about defining custom cache TTL's for: frontpage,
> dynamic, and static content requests? Currently I have Varnish configured
> to set the ttl's based on request headers which are added in the config
> with regex matches against the host being accessed.
>
> Any other caveats or suggestions I should possibly know of?
>
> --Andrei
>
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Migrating from Varnish

Andrei November 23, 2017 10:02AM

Re: Migrating from Varnish

Andrei November 23, 2017 10:26AM

Re: Migrating from Varnish

Maxim Dounin November 23, 2017 10:58AM

Re: Migrating from Varnish

Andrei November 23, 2017 11:26AM

Re: Migrating from Varnish

itpp2012 November 23, 2017 12:53PM

Re: Migrating from Varnish

Maxim Dounin November 23, 2017 12:54PM

Re: Migrating from Varnish

Andrei November 23, 2017 03:34PM

Re: Migrating from Varnish

Andrei November 23, 2017 03:36PM

Re: Migrating from Varnish

itpp2012 November 23, 2017 04:51PM

Re: Migrating from Varnish

Andrei November 30, 2017 01:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 286
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready