Use DNS TTL or Cache-Control header for resolution cache #21
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/resolvematrix#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Quote from the spec:
This essentially means:
The spec says nothing on DNS SRV responses, however it is reasonable to treat these the same way as Cache-Control headers (follow when possible, default 24h, max 48h).
See some discussion in the dev channel here until here
In this case, DNS TTLs should be honoured. The spec pedant in me hates it, but it might be worth ignoring TTLs with a value of 300 or 600 since those tend to be default values set by DNS providers in my experience, and re-querying every 5 minutes probably isn't something either party actually wants
I agree, 5/10/15 minutes is too little. A minimum of 1h could be a good middle ground, but I can also see times where such a long cache is undesirable. Then again a server restart or cache clear command would empty it anyways, so probably a worthwhile compromise