Skip to content

Commit e73a650

Browse files
committed
Core: add shared cache suggestion
1 parent ef6d322 commit e73a650

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jsonschema-core.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,9 @@ Link: </alice>; rel="profile", </bob>; rel="profile"
526526
When used for hypermedia systems over a network, <xref target="RFC7231">HTTP</xref> is frequently the protocol of choice for distributing schemas. Misbehaved clients can pose problems for server maintainers if they pull a schema over the network more frequently than necessary, when it's instead possible to cache a schema for a long period of time.
527527
</t>
528528
<t>
529-
HTTP servers SHOULD set long-lived caching headers on JSON Schemas. HTTP clients SHOULD observe caching headers and not re-request documents within their freshness period.
529+
HTTP servers SHOULD set long-lived caching headers on JSON Schemas.
530+
HTTP clients SHOULD observe caching headers and not re-request documents within their freshness period.
531+
Distributed systems SHOULD make use of a shared cache and/or caching proxy.
530532
</t>
531533
<t>
532534
Clients SHOULD set or prepend a User-Agent header specific to the JSON Schema implementation or software product. Since symbols are listed in decreasing order of significance, the JSON Schema library name/version goes first, then the more generic HTTP library name (if any). For example:

0 commit comments

Comments
 (0)