# I have to implement Jedis or Redis into ignition webdev Module to cache the API's. Can somebody guide me on this?

**URL:** <https://forum.inductiveautomation.com/t/i-have-to-implement-jedis-or-redis-into-ignition-webdev-module-to-cache-the-apis-can-somebody-guide-me-on-this/90412>\
**Category:** Ignition\
**Tags:** scripting, ignition81\
**Created:** [May 15, 2024, 9:10am UTC](https://forum.inductiveautomation.com/t/i-have-to-implement-jedis-or-redis-into-ignition-webdev-module-to-cache-the-apis-can-somebody-guide-me-on-this/90412 "2024-05-15T09:10:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taher\_Chittalwala](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@Taher\_Chittalwala](https://forum.inductiveautomation.com/u/Taher_Chittalwala)\
**Post date:** [May 15, 2024, 9:10am UTC](https://forum.inductiveautomation.com/t/i-have-to-implement-jedis-or-redis-into-ignition-webdev-module-to-cache-the-apis-can-somebody-guide-me-on-this/90412/1 "2024-05-15T09:10:22Z")

</div>

I want cache some API's in ignition using Jedis or Redis to increase the efficiency.  
Is there any possible solution to cache API's in webdev module?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 15, 2024, 1:00pm UTC](https://forum.inductiveautomation.com/t/i-have-to-implement-jedis-or-redis-into-ignition-webdev-module-to-cache-the-apis-can-somebody-guide-me-on-this/90412/2 "2024-05-15T13:00:46Z")

</div>

Not directly, no, but you can use a project library script top-level dictionary as a cache container. You would need to ensure the items you cache have some usage information, so you can run a gateway timer event to occasionally prune stale items.

---

<div class="post-metadata">

**Author:** ![Taher\_Chittalwala](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@Taher\_Chittalwala](https://forum.inductiveautomation.com/u/Taher_Chittalwala)\
**Post date:** [May 17, 2024, 9:53am UTC](https://forum.inductiveautomation.com/t/i-have-to-implement-jedis-or-redis-into-ignition-webdev-module-to-cache-the-apis-can-somebody-guide-me-on-this/90412/3 "2024-05-17T09:53:03Z")

</div>

Thanks for the suggestion. I will discuss with my team if this implementation is possible.
