Skip to content

Commit

Permalink
remove non-functional caching
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Feb 2, 2024
1 parent 570d816 commit 809b43e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ provider:
SECONDARY_GEOCODE_EARTH_URL: ${self:custom.secrets.SECONDARY_GEOCODE_EARTH_URL, null}
custom:
secrets: ${file(env.yml)}
apiGatewayCaching:
enabled: true
ttlInSeconds: 3600 # defaults to the maximum allowed: 3600
functions:
autocomplete:
handler: handler.autocomplete
Expand All @@ -38,8 +35,6 @@ functions:
method: get
cors: true
path: autocomplete
caching:
enabled: true
search:
handler: handler.search
events:
Expand All @@ -57,4 +52,3 @@ functions:
plugins:
- serverless-plugin-typescript
- serverless-offline
- serverless-api-gateway-caching

0 comments on commit 809b43e

Please sign in to comment.