Skip to content

docs(discovery): recommend ETag revalidation#46

Merged
SamMorrowDrums merged 3 commits into
mainfrom
sammorrowdrums-add-etag-guidance
Jul 24, 2026
Merged

docs(discovery): recommend ETag revalidation#46
SamMorrowDrums merged 3 commits into
mainfrom
sammorrowdrums-add-etag-guidance

Conversation

@SamMorrowDrums

Copy link
Copy Markdown
Collaborator

Summary

  • recommend that Server Card hosts return an opaque ETag validator
  • recommend that clients reuse returned validators in If-None-Match and that hosts return 304 Not Modified for unchanged representations
  • expose ETag and allow If-None-Match through the Server Card CORS requirements
  • clarify how entity-tag validation complements Cache-Control freshness

This guidance applies only to hosted Server Cards; AI Catalog HTTP behavior remains governed by its external specification.

Validation

  • npx prettier --check docs/discovery.md
  • git diff --check

Closes #33

Document opaque entity tags and conditional requests for AI Catalogs and Server Cards, including the CORS headers needed by browser clients.\n\nRefs #33\n\nCo-authored-by: Copilot App <[email protected]>\nCopilot-Session: a1429be2-5e67-4475-92c1-081657fe049e
Keep the normative caching and CORS requirements within the Server Card extension rather than applying them to the external AI Catalog specification.\n\nRefs #33\n\nCo-authored-by: Copilot App <[email protected]>\nCopilot-Session: a1429be2-5e67-4475-92c1-081657fe049e
Keep the anti-polling recommendation in the denial-of-service section while linking it to the conditional caching behavior.\n\nRefs #33\n\nCo-authored-by: Copilot App <[email protected]>\nCopilot-Session: a1429be2-5e67-4475-92c1-081657fe049e
@SamMorrowDrums
SamMorrowDrums requested a review from tadasant July 22, 2026 14:29

@tadasant tadasant left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SamMorrowDrums
SamMorrowDrums merged commit 8924e08 into main Jul 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Discovery: recommend ETag + conditional requests (If-None-Match/304) as a SHOULD for card/catalog endpoints

2 participants