Skip to content

Commit 3cf9f9e

Browse files
committed
Fix stale-if-error xsd documentation
Closes gh-22983
1 parent 3767119 commit 3cf9f9e

File tree

1 file changed

+2
-2
lines changed
  • spring-webmvc/src/main/resources/org/springframework/web/servlet/config

1 file changed

+2
-2
lines changed

spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,8 @@
601601
<xsd:attribute name="stale-if-error" type="xsd:int" use="optional">
602602
<xsd:annotation>
603603
<xsd:documentation><![CDATA[
604-
Adds a "s-maxage" directive in the Cache-Control header.
605-
This directive has the same meaning as the "max-age" directive, except it only applies to shared caches.
604+
Adds a "stale-if-error" directive in the Cache-Control header.
605+
When an error is encountered, a cached stale response may be used for the given number of seconds.
606606
]]></xsd:documentation>
607607
</xsd:annotation>
608608
</xsd:attribute>

0 commit comments

Comments
 (0)