Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Purging nginx cache by deleting cache files does not always work

$
0
0
silentmiles Wrote:
-------------------------------------------------------
> No, I'm just deleting the physical file. Does the shared mem cache
> persist after the file is deleted? Is there a method of flushing the
> mem cache?

There are cleanup routines in nginx which may do some of this work but this code does not assume some external party is deleting the files while nginx is running, have a look at https://github.com/FRiCKLE/ngx_cache_purge/

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>