forked from Archives/Athou_commafeed
increase cache duration of static resources even more (#1782)
This commit is contained in:
@@ -18,6 +18,6 @@ class StaticFilesIT {
|
||||
@ParameterizedTest
|
||||
@ValueSource(strings = { "/favicon.ico" })
|
||||
void servedWithCache(String path) {
|
||||
RestAssured.given().when().get(path).then().statusCode(200).header("Cache-Control", "public, immutable, max-age=2592000");
|
||||
RestAssured.given().when().get(path).then().statusCode(200).header("Cache-Control", "public, immutable, max-age=31536000");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user