mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-24 23:05:01 +03:00
0729fc6dbb
The raw, JSON and Clash bodies carry live traffic, expiry and routing headers but went out without Cache-Control, so any cache in front of the sub server could serve stale data, such as old routing rules after an admin edit. The rule lived in scattered per-branch calls that new branches missed. setNoCacheHeaders now runs as middleware on the sub, JSON, Clash, Mihomo and legacy Clash route groups, covering every current and future response of those per-subscriber routes.