Add warnings for Content Invalidation creation and documentation #6332
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #5698
This is an aesthetic change to add information warnings related to Content Invalidation. Specifically, this is to notify a person using this feature that the Origin(s) for the Delivery Service should support IMS and other proper cache invalidation requirements as specified in RFC 7234, Section 4.3.2.
If an origin server were to be misconfigured and only return 200s, disregarding IMS headers, then a Content Invdalidation request may have unintended load consequences.
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Launch and run Traffic Ops and Traffic Portal. Manually verify there is a warning, of appropriate visual representation, when attempting to create a Content Invalidation job at:
host.domain.tld/#!/jobs/new
endpoint(Navigate Tools -> Invalidate Content -> More dropdown -> Create Invalidation Request)
host.domain.tld/#!/delivery-services/<id>/jobs/new
endpoint(Navigate Services -> Delivery Services -> Select a DS -> More dropdown -> Manage Invalidation Requests -> More downdown -> Create Invalidation Request)
Documentation for content invalidation was also updated to reference RFC 7234 in both content invalidation locations
Using Traffic Portal - Invalidate Content
Quick How-To - Content Invalidation
PR submission checklist