Skip to content

The cache control rule with dest_ip as the primary key in cache.config does not take effect #2844

Description

@zhang15535135608

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions