Skip to content
VERIFY THAT REQUESTS TO A SERVICE ARE CACHED IN KONG FOR A SPECIFIC CONSUMER

icon picker
Configure Proxy-Cache on a Consumer

Kong Manager: Configure Proxy-Cache for a Service

Navigation: Plugins > New Plugin
1.jpg

Add New Plugin

Enable Proxy-Cache for the plugin that you created.
2.png
Configuration: Use the following parameters (see screenshot)
service: httpbin<service-id>
consumers: Jason
Config Strategy: memory
screenshot-docs-google-com-presentation-d-1DCySj33MEXyxN0XpBryzkmWDCzfJF19c_YF9SXjwNO8-edit-1610899328744.png
screenshot-docs-google-com-presentation-d-1DCySj33MEXyxN0XpBryzkmWDCzfJF19c_YF9SXjwNO8-edit-1610899569702.png
Optional viewing: The GIF below shows you how to navigate.
gif111.gif
Result
The configurations results should look similar to this:
resp.jpg
For Reference: Admin API Equivalent
This is the equivalent Admin API command configuration.
You can use the http://localhost:8001/plugins endpoint to enable this plugin on specific Consumers:

Next Section


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.