Hello,
I build an API for web application, everything works just fine , but i want to set “cache” for specific GET method.
It seems that i cant find any info regarding this issue in the documantation.
how do i set the cache with query string parameters?
this is my function yaml :
getItems:
handler: handler.getItems
events:
- http:
path: item/get
method: get
cors: true
integration: lambda
name: ${self:service}-${self:provider.stage}-getItems
description: get all latest items
runtime: python3.6
memorySize: 128
timeout: 10
reservedConcurrency: 5
thanks!