**[Rossen Stoyanchev](https://jira.spring.io/secure/ViewProfile.jspa?name=rstoya05-aop)** opened **[SPR-16940](https://jira.spring.io/browse/SPR-16940?redirect=false)** and commented Max-Age uses `Duration.toString()` but should get the seconds instead. Expires uses seconds instead of milliseconds. --- **Affects:** 5.0.7 **Referenced from:** pull request https://github.com/spring-projects/spring-framework/pull/1857, and commits https://github.com/spring-projects/spring-framework/commit/ebdcc015a49727b34f98aafde7f97dd7f6850fbd, https://github.com/spring-projects/spring-framework/commit/425c311d3cb871a22b21b9a469c6bfe9181dc104