Skip to content

Commit 5900639

Browse files
committed
Fix stale-if-error xsd documentation
Closes gh-22983
1 parent 1345ec9 commit 5900639

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

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

0 commit comments

Comments
 (0)