diff --git a/serverless.yml b/serverless.yml index 9c45eb89..33faf7e7 100644 --- a/serverless.yml +++ b/serverless.yml @@ -18,6 +18,15 @@ custom: sentryDsn: dev: '' prod: 'https://e950ab524cde4682a740c218c15a461d@sentry.io/1366866' + stageSettings: + CacheClusterEnabled: true + CacheClusterSize: '0.5' + MethodSettings: + - CachingEnabled: true + - HttpMethod: GET + ResourcePath: "/stats" + CachingEnabled: true + CacheTtlInSeconds: 3600 provider: name: aws