You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "devteam-tb (via GitHub)" <gi...@apache.org> on 2023/08/14 09:53:52 UTC

[GitHub] [apisix] devteam-tb opened a new issue, #10017: help request: Cache update data

devteam-tb opened a new issue, #10017:
URL: https://github.com/apache/apisix/issues/10017

   ### Description
   
   I have one route `/products` with `proxy-cache` configuration. I want to update the cache whenever `/add` or `/update` endpoint is called. How we can achieve this ? And one more thing i want update particular data alone not full cache. Can you please help this request ?
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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] help request: Cache update data [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #10017:
URL: https://github.com/apache/apisix/issues/10017#issuecomment-2918593256

   If there is still a problem, please open it again.


-- 
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


[GitHub] [apisix] shreemaan-abhishek commented on issue #10017: help request: Cache update data

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #10017:
URL: https://github.com/apache/apisix/issues/10017#issuecomment-1677187316

   This isn't yet supported, you can submit a PR or send a proposal to the dev@apisix.apache.org mailing list to implement this.


-- 
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] help request: Cache update data [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop closed issue #10017: help request: Cache update data
URL: https://github.com/apache/apisix/issues/10017


-- 
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] help request: Cache update data [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #10017:
URL: https://github.com/apache/apisix/issues/10017#issuecomment-2893141315

   In your backend application, when the /add or /update endpoints are successfully processed, add code that sends a `PURGE` request to the /products path, invalidating the specific cache path immediately after the data is updated


-- 
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