# Using Kong cache in Go plugins

**URL:** <https://discuss.konghq.com/t/using-kong-cache-in-go-plugins/7053>\
**Category:** Questions\
**Created:** [September 4, 2020, 1:53pm UTC](https://discuss.konghq.com/t/using-kong-cache-in-go-plugins/7053 "2020-09-04T13:53:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyrilgdn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/cyrilgdn/32/2203_2.png) [@cyrilgdn](https://discuss.konghq.com/u/cyrilgdn)\
**Post date:** [September 4, 2020, 1:53pm UTC](https://discuss.konghq.com/t/using-kong-cache-in-go-plugins/7053/1 "2020-09-04T13:53:00Z")

</div>

Is it possible to use Kong cache: [https://docs.konghq.com/1.1.x/plugin-development/entities-cache/](https://docs.konghq.com/1.1.x/plugin-development/entities-cache/) in Golang plugins? I don’t see any reference of cache in the pdk library…

---

<div class="post-metadata">

**Author:** ![greut](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/greut/32/2206_2.png) [@greut](https://discuss.konghq.com/u/greut)\
**Post date:** [September 7, 2020, 2:29pm UTC](https://discuss.konghq.com/t/using-kong-cache-in-go-plugins/7053/2 "2020-09-07T14:29:11Z")

</div>

It seems that the go-pdk is only serializing Lua calls over the wire. Adding the `kong.cache` methods is probably a matter of doing the same as for `kong.log`, [https://github.com/Kong/go-pdk/blob/master/log/log.go](https://github.com/Kong/go-pdk/blob/master/log/log.go)
