The cache control rule with dest_ip as the primary key in cache.config does not take effect
Open
Bug
Cache
Configuration
Stale
- Dominant language
- C++
- Stars
- 2k
- Forks
- 874
- Avg merge
- 6d 15h
- Merged PRs (30d)
- 46
Description
Cache control rules are matched by function getCacheControl. this function is called after the client's request has been read.At this point, the dest_ip in HttpRequestData is empty,so it's impossible to match primary key is dest_ip. And,after parsing DNS,The function is not called again for matching.
Contributor guide
Assessment
This issue has not been assessed yet.