打开 CMD 并转到 NCache 安装文件夹然后 bin/tools 对我来说是C:\Program Files\NCache\bin\tools
运行clearcache.exe /?
你会得到
C:\Program Files\NCache\bin\tools>clearcache.exe /?
Alachisoft (R) NCache Utility ClearCache. Version 4.6.0.0
Copyright (C) Alachisoft 2015. All rights reserved.
用法:clearcache cache-name [option[...]].
争论:
缓存名称
Specifies one or more name(s) of caches separated by space registered on
the server. The cache(s) with this/these name(s) is/are started on the
server. Note: Space-separated cache names are to be specified in case of
multiple caches.
选项:
/w /webcontent (Only avaiable in Enterprise edition)
Clear Javascript and CSS only.
/F /forceclear
Force the clearing of the cache. If not specified, the user is asked before
clearing the cache.
/G /nologo
Suppresses display of the logo banner.
/?
Displays a detailed help screen
/F
所以使用or in full form/forceclear
选项运行 clearcache