Skip to content
New issue

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

Response caching do not honor advance configs #3441

Open
tmkasun opened this issue Oct 21, 2019 · 0 comments
Open

Response caching do not honor advance configs #3441

tmkasun opened this issue Oct 21, 2019 · 0 comments

Comments

@tmkasun
Copy link

tmkasun commented Oct 21, 2019

Even we set the HTTP methods and response codes , Response caching not working.

 <cache collector="false" timeout="60">
                <protocol type="HTTP">
                    <methods>GET</methods>
                    <headersToExcludeInHash/>
                    <responseCodes>2[0-9][0-9]</responseCodes>
                    <includeAgeHeader>false</includeAgeHeader>
                </protocol>
                <implementation maxSize="500"/>
 </cache>

How to reproduce the issue:

  • Create and Publish an API
  • Enable response caching
  • Change the mediator as above
  • Send API requests to the gateway
  • Monitor the request in the backend (or use wire logs)
@tmkasun tmkasun changed the title Response caching do not honor the advance configs Response caching do not honor advance configs Oct 21, 2019
@tharindu1st tharindu1st transferred this issue from wso2/product-apim Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants