-
I wrote a custom plugin to use the local cache. When I received a request that needed to update the local cache, Kong only updated the cache of the current worker process and did not apply it to other worker processes. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I think |
Beta Was this translation helpful? Give feedback.
-
You can purge Kong's cache this way: |
Beta Was this translation helpful? Give feedback.
You can purge Kong's cache this way:
curl -X DELETE http://localhost:8001/cache
. Alsokong.cache.invalidate_local()
only invalidates the current worker, you may needkong.cache.invalidate()
if you want to invalidate all workers.