config.yaml in clash core folder is not hot repload in CFW, so u can clich the cat in General menu in CFW to quick relaunch CFW.
in profiles, the default generated file 'config.yaml' is a copy of config.yaml from clash core. so you should't edit it, it is just like a quick review of clash core config.
and only proxies/proxy-providers/proxy-groups/rule-providers/rules/dns in[1] profile files will replace into clash core config.yaml file(actually happen in memory).
so keywords like port and external-controller won't work in profiles of CFW.
Automatically select the minimum lag server
edit CFW->setting->profiles->parser->edit
parsers:
- url: https://yourServerSubscriberHere
yaml:
prepend-proxy-groups:
- name: fallback
type: fallback
- name: url-test
type: url-test
commands:
- proxy-groups.(fallback).url="http://www.gstatic.com/generate_204"
- proxy-groups.(fallback).interval=30
- proxy-groups.(fallback).proxies=[]proxyNames|^(?!.*倍率(([1-9][0-9])|([4-9]))).*$
- proxy-groups.(url-test).url="http://www.gstatic.com/generate_204"
- proxy-groups.(url-test).interval=30
- proxy-groups.(url-test).proxies=[]proxyNames|^(?!.*倍率(([1-9][0-9])|([4-9]))).*$
# the regex above is for filter out expensive server.
评论区