# Kong proxy cache plugin

**URL:** <https://discuss.konghq.com/t/kong-proxy-cache-plugin/8973>\
**Category:** Feature Requests & Feedback\
**Created:** [September 1, 2021, 12:56pm UTC](https://discuss.konghq.com/t/kong-proxy-cache-plugin/8973 "2021-09-01T12:56:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![utix](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/utix/32/2424_2.png) [@utix](https://discuss.konghq.com/u/utix)\
**Post date:** [September 1, 2021, 12:56pm UTC](https://discuss.konghq.com/t/kong-proxy-cache-plugin/8973/1 "2021-09-01T12:56:05Z")

</div>

I will work to remove the cache header by default from the proxy cache plugin and add them if the debug header is set.

Any comment on a such idea ?

---

<div class="post-metadata">

**Author:** ![utix](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/utix/32/2424_2.png) [@utix](https://discuss.konghq.com/u/utix)\
**Post date:** [September 3, 2021, 5:05pm UTC](https://discuss.konghq.com/t/kong-proxy-cache-plugin/8973/2 "2021-09-03T17:05:39Z")

</div>

I have started the work here:

> **[GitHub - ManoManoTech/kong at feat/proxy\_cache\_debug](https://github.com/ManoManoTech/kong/tree/feat/proxy_cache_debug)**
>
> feat/proxy\_cache\_debug

---

<div class="post-metadata">

**Author:** ![utix](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/utix/32/2424_2.png) [@utix](https://discuss.konghq.com/u/utix)\
**Post date:** [September 10, 2021, 12:59pm UTC](https://discuss.konghq.com/t/kong-proxy-cache-plugin/8973/3 "2021-09-10T12:59:57Z")

</div>

Pull request done:

> <https://github.com/Kong/kong/pull/7829>
>
> \### Summary
> 
> Remove proxy cache headers from response if the kong debug is not… set.
> Adding Miss/Hit, Age and cache key to answer shouldn't be the default behavior.
> 
> \### Full changelog
> 
> The following headers:
> \* X-Cache-Status
> \* X-Cache-Key
> \* Age
> 
> are now set only if the header kong-debug is set to 1
> 
> Refactor test to remove duplicated lines and use get, post and delete helpers instead of send
