Welcome! Log In Create A New Profile

Advanced

nginx clear static file cache without restarting

June 13, 2012 02:04AM
i'm using nginx1.0.15 stable to serve static files, and with following configurations:

sendfile on;
tcp_nopush on;
tcp_nodelay on;
open_file_cache max=1048000 inactive=604800s;
open_file_cache_min_uses 1;
open_file_cache_valid 3600s;

here is my problem, how can i clear the static file cache without restarting nginx without 'killall -HUP nginx'?
Subject Author Posted

nginx clear static file cache without restarting

chenmin7249 June 13, 2012 02:04AM

Re: nginx clear static file cache without restarting

Maxim Dounin June 13, 2012 06:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 88
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready