# Caching Custom Realm Plugin tokens

**URL:** <https://discuss.elastic.co/t/caching-custom-realm-plugin-tokens/145972>\
**Category:** Elasticsearch\
**Created:** [August 24, 2018, 9:01pm UTC](https://discuss.elastic.co/t/caching-custom-realm-plugin-tokens/145972 "2018-08-24T21:01:27Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [August 30, 2018, 2:10am UTC](https://discuss.elastic.co/t/caching-custom-realm-plugin-tokens/145972/6 "2018-08-30T02:10:16Z")

</div>

Your _Realm_ is a singleton. There is 1 instance of your realm per ES node, so a non-static cache is fine.

---

_[View the full topic](https://discuss.elastic.co/t/caching-custom-realm-plugin-tokens/145972)._
