Welcome! Log In Create A New Profile

Advanced

Doing a mass purge of the cache using a wildcard

Jordan Keith
October 04, 2019 01:26PM
We are using nginx plus. We have caching configured for a few endpoints, one which is similar to the following:

document/{id}/report

I would like to purge all items cached under that endpoint, but executing a purge request like the following does not purge anything:

document/*/report

We have other endpoints where mass purges work fine, but they have the * at the end of the URL instead of the middle.

So I have 2 questions:

1). Does nginx only support wildcards at the end of the URL for cache-purging purposes?
2). Is there some other way I can accomplish a mass purge here?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Doing a mass purge of the cache using a wildcard

Jordan Keith October 04, 2019 01:26PM

Re: Doing a mass purge of the cache using a wildcard

Maxim Dounin October 07, 2019 08:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 277
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