Skip to content

Strange cache bypass on curl requests #2008

Closed
@krizhanovsky

Description

@krizhanovsky

Our website VM's are configured with keepalived checking Tempesta FW's status with

curl -s -k --http2 --output /dev/null -H 'User-Agent: ka-probe' https://tempesta-tech.com/

ran inside a VM with Tempesta FW and the VMs are configured with static address for tempesta-tech.com as 127.0.0.1.

For some reason I see that all the requests are passed to the upstream WordPress container, while I'd expect that they should be serviced from the cache. /proc/tempesta/perfstat also shows that all the requests are cache misses.

Need to understand why Tempesta doesn't service the requests from the cache - whether it's a bug or does RFC requires that by default content isn't serviced from the cache. In this case need to figure out which header we should pass to curl (and verify that Tempesta does service such requests from the cache) and commit the changes to the website repo keepalived.conf. After that please reassign the task to me that I'll deploy the changes on the production website.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions