best way to empty nginx cache

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

best way to empty nginx cache

Jérôme Loyet
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: best way to empty nginx cache

Igor Sysoev
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: best way to empty nginx cache

Jérôme Loyet
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: best way to empty nginx cache

karlo13
In reply to this post by Igor Sysoev
Hi sir,

Is this code enough when clearing nginx cache?
find /path/to/cache -type f -exec rm {}\;

or should I kill and start nginx also?