mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
increase static resources cache duration (#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=86400");
|
||||
RestAssured.given().when().get(path).then().statusCode(200).header("Cache-Control", "public, immutable, max-age=2592000");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user