What is the name of the domain?
What is the issue you’re encountering
In our Cache Rules setting we set the Edge TTL time to 1 second but the minimum for our plan is two hours. What should we expect to happen?
What steps have you taken to resolve the issue?
I have a question about the behaviour of the Edge TTL setting in Cache Rules when the value is set less than allowed by our plan. Will responses be potentially cached for the minimum of two hours (free plan)? Or are they never cached?
To give a specific example: one of our Cache Rules had the Edge TTL set to 1 second which is less than our free plan minimum of two hours. In our testing we are always seeing Cf-Cache-Status: EXPIRED
in responses to the browser suggesting the 1 second Edge TTL is being applied. But other sites in a different geographical location have reported getting stale content which I’ve not been able to reproduce so far.
What are the steps to reproduce the issue?
- Create a Cache Rule.
- Set Edge TTL to “Ignore cache-control header and use this TTL”.
- Type “1 second” in the drop down.
- Set Browser TTL also to Override.
- Type “1 second” in the drop down.
See attached screenshot.
The account audit log should show the following settings were applied.
{
"id": "-",
"ref": "-",
"action": "set_cache_settings",
"enabled": true,
"version": "4",
"expression": "true",
"description": "Set Browser/Edge Cache Timeout",
"last_updated": "-",
"action_parameters": {
"cache": true,
"edge_ttl": {
"mode": "override_origin",
"default": 1
},
"browser_ttl": {
"mode": "override_origin",
"default": 1
}
}
}