We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cacheKeyParameters
Love this plugin! It is super valuable and very quick to set up.
One thing that would be great to add is support for queryStringParameters in the cacheKeyParameters property.
queryStringParameters
Thank you!
The text was updated successfully, but these errors were encountered:
Thanks @gligorkot!
You should already be able to specify query string parameters as cache keys, like this:
# Responses are cached based on the 'breed' query string parameter get-cats-by-breed: handler: rest_api/cat/get/handler.handle events: - http: path: /cats method: get caching: enabled: true cacheKeyParameters: - name: request.querystring.breed
Sorry, something went wrong.
@DianaIonita oh cool! I tried query and querystringparameter, but not just querystring hehehe.
query
querystringparameter
querystring
Perhaps adding this to the Readme would help then?
Edit: I just saw it in the Readme 🤦♂ how could I have missed that???
Thanks for pointing me to it.
No worries - a bit hard to spot to be fair, cache key parameters probably need a section of their own.
No branches or pull requests
Love this plugin! It is super valuable and very quick to set up.
One thing that would be great to add is support for
queryStringParameters
in thecacheKeyParameters
property.Thank you!
The text was updated successfully, but these errors were encountered: