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/
-------------------------------------------------------
> 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/