You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "kayx23 (via GitHub)" <gi...@apache.org> on 2024/03/14 18:34:40 UTC
[I] bug: proxy-cache inconsistent behaviours for in-memory and on-disk caching when the cache expires [apisix]
kayx23 opened a new issue, #11045:
URL: https://github.com/apache/apisix/issues/11045
### Current Behavior
inconsistent response headers for in-memory and on-disk cache when the cache expires.
* for on disk strategy, the header shows `Apisix-Cache-Status: EXPIRED`
* for in memory strategy, the headers shows `Apisix-Cache-Status: MISS`
### Expected Behavior
Same header value for both caching strategies when the cache expires.
### Error Logs
_No response_
### Steps to Reproduce
#### disk based caching
1. Enable `proxy-cache` on a route and configure it to use disk based caching
2. Send a few requests and observe caching in effect
3. Wait for the cache to expire after TTL and send another request, to observe `Apisix-Cache-Status: EXPIRED` header
#### in memory caching
1. Enable `proxy-cache` on a route and configure it to use disk based caching
2. Send a few requests and observe caching in effect
3. Wait for the cache to expire after TTL and send another request, to observe `Apisix-Cache-Status: MISS` header
### Environment
- APISIX version (run `apisix version`): 3.8.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: proxy-cache inconsistent behaviours for in-memory and on-disk caching when the cache expires [apisix]
Posted by "monkeyDluffy6017 (via GitHub)" <gi...@apache.org>.
monkeyDluffy6017 closed issue #11045: bug: proxy-cache inconsistent behaviours for in-memory and on-disk caching when the cache expires
URL: https://github.com/apache/apisix/issues/11045
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: proxy-cache inconsistent behaviours for in-memory and on-disk caching when the cache expires [apisix]
Posted by "theweakgod (via GitHub)" <gi...@apache.org>.
theweakgod commented on issue #11045:
URL: https://github.com/apache/apisix/issues/11045#issuecomment-1998827873
I will check this. Could u please assigned it to me?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org