Hi all,
i have question regarding the cache manager and purge with key
i searched internet about openresty working with cache manager, get something like https://github.com/cloudflare/lua-upstream-cache-nginx-module
but cache purge module like https://github.com/FRiCKLE/ngx_cache_purge and the one above, they kind of all deal with *r point to get cache
which means i cant randomly purge cache even if i know the key, it must be a *r object with the uri assuming $uri is the cache key you set. which point to a ngx_delete_file(r->cache->file.name.data) lock and unlock &r->cache->file_cache->shpool->mutex
so in short, i want to know if there is a way to just purge cache with the keys instead of associate it with a request (assume we know the key)