-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase max age for entity list endpoints (#9223)
Description: - Increases max age for entity list endpoints in order to improve performance for these endpoints. - Adds a note for extended caching to the openapi.yaml --------- Signed-off-by: mgoelswirlds <[email protected]>
- Loading branch information
1 parent
8982570
commit 45a1e84
Showing
10 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
hedera-mirror-rest/__tests__/specs/accounts/responseHeaders.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"cache-control": "public, max-age=10" | ||
} |
3 changes: 3 additions & 0 deletions
3
hedera-mirror-rest/__tests__/specs/contracts/responseHeaders.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"cache-control": "public, max-age=10" | ||
} |
3 changes: 3 additions & 0 deletions
3
hedera-mirror-rest/__tests__/specs/contracts/results/responseHeaders.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"cache-control": "public, max-age=10" | ||
} |
3 changes: 3 additions & 0 deletions
3
hedera-mirror-rest/__tests__/specs/contracts/{id}/responseHeaders.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"cache-control": "public, max-age=1" | ||
} |
3 changes: 3 additions & 0 deletions
3
hedera-mirror-rest/__tests__/specs/schedules/responseHeaders.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"cache-control": "public, max-age=10" | ||
} |
3 changes: 3 additions & 0 deletions
3
hedera-mirror-rest/__tests__/specs/schedules/{id}/responseHeaders.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"cache-control": "public, max-age=1" | ||
} |
3 changes: 3 additions & 0 deletions
3
hedera-mirror-rest/__tests__/specs/tokens/responseHeaders.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"cache-control": "public, max-age=10" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters