# \#cache

**URL:** https://community.developer.atlassian.com/tag/cache/331.md

[Latest](https://community.developer.atlassian.com/latest.md) · [Categories](https://community.developer.atlassian.com/categories.md) · [Tags](https://community.developer.atlassian.com/tags.md)

---

## [Size Limits and Best Practices for Using CacheManager in Jira Data Center Plugins](https://community.developer.atlassian.com/t/size-limits-and-best-practices-for-using-cachemanager-in-jira-data-center-plugins/91746)

<div class="topic-metadata">

**Author:** [@CaptainAsura](https://community.developer.atlassian.com/u/CaptainAsura)\
**Replies:** 0\
**Last updated:** [May 6, 2025, 3:07pm UTC](https://community.developer.atlassian.com/t/size-limits-and-best-practices-for-using-cachemanager-in-jira-data-center-plugins/91746 "2025-05-06T15:07:29Z")

</div>

Hi Community, I’m trying to implement Cache using Atlassian’s CacheManager (Atlassian Cache - API 2.9.0 API) to cache common/global user-level settings. I have several questions around cache limits and expiration that I…

---

## [Cluster Cache Jira DC](https://community.developer.atlassian.com/t/cluster-cache-jira-dc/88667)

<div class="topic-metadata">

**Author:** [@1437dada](https://community.developer.atlassian.com/u/1437dada)\
**Replies:** 1\
**Last updated:** [February 10, 2025, 12:00pm UTC](https://community.developer.atlassian.com/t/cluster-cache-jira-dc/88667 "2025-02-10T12:00:56Z")

</div>

I am developing a plugin for Jira Data Center which uses Atlassian Cache. I followed this article: https://developer.atlassian.com/server/confluence/atlassian-cache-2-overview/ The problem is that my cache works fine l…

---

## [Caching and installing node dependencies in pipeline](https://community.developer.atlassian.com/t/caching-and-installing-node-dependencies-in-pipeline/35659)

<div class="topic-metadata">

**Author:** [@Belco](https://community.developer.atlassian.com/u/Belco)\
**Replies:** 2\
**Last updated:** [November 22, 2024, 1:56pm UTC](https://community.developer.atlassian.com/t/caching-and-installing-node-dependencies-in-pipeline/35659 "2024-11-22T13:56:14Z")

</div>

Hello :wave: I’m using Bitbucket pipelines for some projects and I’m not pretty sure what’s the best approach for caching and installing node dependencies. npm ci is the official command to install dependencies in auto…

---

## [Should i need to use Caching for Jira Plugin developing Using Spring Boot and React](https://community.developer.atlassian.com/t/should-i-need-to-use-caching-for-jira-plugin-developing-using-spring-boot-and-react/34342)

<div class="topic-metadata">

**Author:** [@ChakreshTiwari](https://community.developer.atlassian.com/u/ChakreshTiwari)\
**Replies:** 10\
**Last updated:** [December 18, 2019, 8:18am UTC](https://community.developer.atlassian.com/t/should-i-need-to-use-caching-for-jira-plugin-developing-using-spring-boot-and-react/34342 "2019-12-18T08:18:43Z")

</div>

I am developing jira Plugin using spring boot and React but the performance of Plugin is very slow Because every time Db calls . So i want to use caching But that is not syncing with Db .So any idea which caching i shoul…

---

## [Is cache eviction due to timed expiration replicated between nodes?](https://community.developer.atlassian.com/t/is-cache-eviction-due-to-timed-expiration-replicated-between-nodes/73827)

<div class="topic-metadata">

**Author:** [@agaranin](https://community.developer.atlassian.com/u/agaranin)\
**Replies:** 0\
**Last updated:** [October 16, 2023, 9:18pm UTC](https://community.developer.atlassian.com/t/is-cache-eviction-due-to-timed-expiration-replicated-between-nodes/73827 "2023-10-16T21:18:35Z")

</div>

Hi, I have a couple of questions about Atlassian Cache in Jira DC. When a plugin is loading some data on one node into cache, does it trigger the same action on other nodes? Or cache loading in independent? If we have…

---

## [Expired JWT token breaks the whole app](https://community.developer.atlassian.com/t/expired-jwt-token-breaks-the-whole-app/51853)

<div class="topic-metadata">

**Author:** [@IvanHanak](https://community.developer.atlassian.com/u/IvanHanak)\
**Replies:** 5\
**Last updated:** [October 4, 2023, 7:45am UTC](https://community.developer.atlassian.com/t/expired-jwt-token-breaks-the-whole-app/51853 "2023-10-04T07:45:57Z")

</div>

Hello there, for the app development I use Connect apps with atlassian-connect.json descriptor. We also use jwt authentication and our apps provide a project’s sidebar link for the app. Internally, jira loads the app …

---

## [AtlassianHostRestClients auto caching oauth-2-clients](https://community.developer.atlassian.com/t/atlassianhostrestclients-auto-caching-oauth-2-clients/72763)

<div class="topic-metadata">

**Author:** [@AdriianSemotiuk](https://community.developer.atlassian.com/u/AdriianSemotiuk)\
**Replies:** 2\
**Last updated:** [September 11, 2023, 11:24am UTC](https://community.developer.atlassian.com/t/atlassianhostrestclients-auto-caching-oauth-2-clients/72763 "2023-09-11T11:24:01Z")

</div>

I am new to caching, and i have a Spring Boot application via atlassian connect, and i\`ve noticed that every time that i make some calls to atlassian , i have this cache in my application "caches": { "oauth-2-c…

---

## [Cache data with Forge](https://community.developer.atlassian.com/t/cache-data-with-forge/62169)

<div class="topic-metadata">

**Author:** [@janambroz](https://community.developer.atlassian.com/u/janambroz)\
**Replies:** 2\
**Last updated:** [May 7, 2023, 6:39pm UTC](https://community.developer.atlassian.com/t/cache-data-with-forge/62169 "2023-05-07T18:39:16Z")

</div>

Hi there, is there a way to use “cache”? When user load my plugin, I need to load all projects, users, user groups and some more data. Which take few seconds get data and than send it to FE. Normally i would handle this…

---

## [Using Atlassian Cache together with Active Objects](https://community.developer.atlassian.com/t/using-atlassian-cache-together-with-active-objects/64367)

<div class="topic-metadata">

**Author:** [@JohanJN](https://community.developer.atlassian.com/u/JohanJN)\
**Replies:** 3\
**Last updated:** [December 20, 2022, 2:16am UTC](https://community.developer.atlassian.com/t/using-atlassian-cache-together-with-active-objects/64367 "2022-12-20T02:16:09Z")

</div>

Hi! I am currently developing my own plugin that utilizes active objects. In order to lessen the load on the DB, I want to utilize atlassian-cache for this. I have written code and it seems to work, but I’m unsure if I …

---

## [Confluence caching Static Content Macro despite Cache-Control set to no-store,no-cache](https://community.developer.atlassian.com/t/confluence-caching-static-content-macro-despite-cache-control-set-to-no-store-no-cache/60288)

<div class="topic-metadata">

**Author:** [@matthew.grover](https://community.developer.atlassian.com/u/matthew.grover)\
**Replies:** 1\
**Last updated:** [July 29, 2022, 7:21pm UTC](https://community.developer.atlassian.com/t/confluence-caching-static-content-macro-despite-cache-control-set-to-no-store-no-cache/60288 "2022-07-29T19:21:47Z")

</div>

Hi, I’m developing a Confluence Static Content Macro and I’m running into an issue where Confluence is displaying a cached version of my macro despite my best efforts to tell it not to. I’m using ACE and have tried set…

---

## [Clear User cache](https://community.developer.atlassian.com/t/clear-user-cache/57504)

<div class="topic-metadata">

**Author:** [@SyedHussain](https://community.developer.atlassian.com/u/SyedHussain)\
**Replies:** 0\
**Last updated:** [April 13, 2022, 9:27am UTC](https://community.developer.atlassian.com/t/clear-user-cache/57504 "2022-04-13T09:27:44Z")

</div>

hello, We have a custom login implementation for confluence and each time user logs in we would like to clear cache so that permissions are updated.We recently upgraded to 7.13.2 and looks like a lot has changed in how …

---

## [Mocking Cache Manage for Active Objects Test](https://community.developer.atlassian.com/t/mocking-cache-manage-for-active-objects-test/41748)

<div class="topic-metadata">

**Author:** [@PurusothamanRamanuja](https://community.developer.atlassian.com/u/PurusothamanRamanuja)\
**Replies:** 1\
**Last updated:** [November 2, 2021, 5:34am UTC](https://community.developer.atlassian.com/t/mocking-cache-manage-for-active-objects-test/41748 "2021-11-02T05:34:56Z")

</div>

I am creating a test for Active Objects. My service implementation depends on Active Object and CacheManage objects as shown below. @Before public void setUp() throws Exception { assertNotNull(entityMana…

---

## [License API not caching in Atlassian Connect App?](https://community.developer.atlassian.com/t/license-api-not-caching-in-atlassian-connect-app/52945)

<div class="topic-metadata">

**Author:** [@AndrewTyson](https://community.developer.atlassian.com/u/AndrewTyson)\
**Replies:** 1\
**Last updated:** [October 18, 2021, 10:38am UTC](https://community.developer.atlassian.com/t/license-api-not-caching-in-atlassian-connect-app/52945 "2021-10-18T10:38:59Z")

</div>

Hi, Our Confluence Cloud Atlassian Connect app is developed using Spring Boot. On a per request basis it is calling the licensing API to check whether the calling tenant has a valid license: AtlassianLicense retVal = a…

---

## [Confluence DC throws ClassCastException when getting object from Bandana after app upgrade](https://community.developer.atlassian.com/t/confluence-dc-throws-classcastexception-when-getting-object-from-bandana-after-app-upgrade/31894)

<div class="topic-metadata">

**Author:** [@emre.toptanci](https://community.developer.atlassian.com/u/emre.toptanci)\
**Replies:** 4\
**Last updated:** [September 24, 2021, 9:52am UTC](https://community.developer.atlassian.com/t/confluence-dc-throws-classcastexception-when-getting-object-from-bandana-after-app-upgrade/31894 "2021-09-24T09:52:24Z")

</div>

My app is keeping some objects in the Bandana table. (I know it is not best practice but wasn’t my choice). When I install a new package of my app I start getting ClassCastException while getting my objects via BandanaMa…

---

## [Clear content property manager's cache](https://community.developer.atlassian.com/t/clear-content-property-managers-cache/51112)

<div class="topic-metadata">

**Author:** [@GorkaGalloBustinza](https://community.developer.atlassian.com/u/GorkaGalloBustinza)\
**Replies:** 2\
**Last updated:** [September 3, 2021, 8:31am UTC](https://community.developer.atlassian.com/t/clear-content-property-managers-cache/51112 "2021-09-03T08:31:30Z")

</div>

Hi Community, I have changed manually in database some records of the os\_propertyentry table, but I do not see the changes because of its cache I guess. If I do a Flush All action in Cache Statistics I see the changes b…

---

## [How to implement cache in data center plugin](https://community.developer.atlassian.com/t/how-to-implement-cache-in-data-center-plugin/45315)

<div class="topic-metadata">

**Author:** [@saurabh.gupta1233](https://community.developer.atlassian.com/u/saurabh.gupta1233)\
**Replies:** 1\
**Last updated:** [February 18, 2021, 6:02pm UTC](https://community.developer.atlassian.com/t/how-to-implement-cache-in-data-center-plugin/45315 "2021-02-18T18:02:28Z")

</div>

I am trying to implement the atlassian-cache-api on Jira 8.5.4 datacenter. I don’t know what I am doing wrong but the cache is not replicating between the nodes, below is my cache class. package com.custom.jira.cache; …

---

## [Jira 8.15.0-EAP01 wrong jql results](https://community.developer.atlassian.com/t/jira-8-15-0-eap01-wrong-jql-results/44151)

<div class="topic-metadata">

**Author:** [@xavier.fernandes](https://community.developer.atlassian.com/u/xavier.fernandes)\
**Replies:** 1\
**Last updated:** [January 7, 2021, 10:34am UTC](https://community.developer.atlassian.com/t/jira-8-15-0-eap01-wrong-jql-results/44151 "2021-01-07T10:34:55Z")

</div>

Hello everyone, with the latest Jira 8.15.0-EAP01 I had a few integration tests failing. The tests are failing when performing a JQL search, it returns 0 values when expecting a specific issue to be returned. By manua…

---

## [Atlassian cache - plugin shared cache weird behaviour](https://community.developer.atlassian.com/t/atlassian-cache-plugin-shared-cache-weird-behaviour/41624)

<div class="topic-metadata">

**Author:** [@pslootweg](https://community.developer.atlassian.com/u/pslootweg)\
**Replies:** 2\
**Last updated:** [September 18, 2020, 3:14pm UTC](https://community.developer.atlassian.com/t/atlassian-cache-plugin-shared-cache-weird-behaviour/41624 "2020-09-18T15:14:26Z")

</div>

I’m trying to get plugins to share an Atlassian Cache but find that the experience does not bear out what the documentation states. e.g. Atlassian Cache 2 overview (seriously out-of-date) https://developer.atlassian.co…

---

## [What is the correct way to remove an entry from Atlassian Cache?](https://community.developer.atlassian.com/t/what-is-the-correct-way-to-remove-an-entry-from-atlassian-cache/39197)

<div class="topic-metadata">

**Author:** [@kubilay](https://community.developer.atlassian.com/u/kubilay)\
**Replies:** 0\
**Last updated:** [June 17, 2020, 12:27pm UTC](https://community.developer.atlassian.com/t/what-is-the-correct-way-to-remove-an-entry-from-atlassian-cache/39197 "2020-06-17T12:27:46Z")

</div>

Hi everyone, We are using Atlassian cache in our plugins for a while. Basically we are following the guidelines here: Atlassian Cache 2 overview We try to make things “correct way” with read-through cache population by…

---

## [How to implement caching in server application?](https://community.developer.atlassian.com/t/how-to-implement-caching-in-server-application/33797)

<div class="topic-metadata">

**Author:** [@nurul.zaman](https://community.developer.atlassian.com/u/nurul.zaman)\
**Replies:** 2\
**Last updated:** [November 26, 2019, 10:05am UTC](https://community.developer.atlassian.com/t/how-to-implement-caching-in-server-application/33797 "2019-11-26T10:05:57Z")

</div>

Hi, We are attempting to implement caching in Jira Server. We are mainly using Atlassian Cache 2 as the reference. A bit about our implementation, we already have a cache implementation that works (the values that get …

---

## [Multi-node caching for Data Center](https://community.developer.atlassian.com/t/multi-node-caching-for-data-center/29341)

<div class="topic-metadata">

**Author:** [@paul](https://community.developer.atlassian.com/u/paul)\
**Replies:** 2\
**Last updated:** [May 17, 2019, 2:13am UTC](https://community.developer.atlassian.com/t/multi-node-caching-for-data-center/29341 "2019-05-17T02:13:39Z")

</div>

Hi, I want to add caching to my app and it needs to work in Data Center. I see that Jira has a caching class, com.atlassian.cache.CacheManager, so does this work for Data Center and if not what do I use and do you have …

---

## [Are app license checks via PluginLicenseManager backed by a cache?](https://community.developer.atlassian.com/t/are-app-license-checks-via-pluginlicensemanager-backed-by-a-cache/26960)

<div class="topic-metadata">

**Author:** [@mike1](https://community.developer.atlassian.com/u/mike1)\
**Replies:** 0\
**Last updated:** [February 13, 2019, 10:50am UTC](https://community.developer.atlassian.com/t/are-app-license-checks-via-pluginlicensemanager-backed-by-a-cache/26960 "2019-02-13T10:50:32Z")

</div>

Simple question - does com.atlassian.upm.api.license.PluginLicenseManager use cached app license state? I would assume it does, but just want to be sure as I want to check it very frequently.

---

## [HTTP Reverse Proxy Caching - what to cache?](https://community.developer.atlassian.com/t/http-reverse-proxy-caching-what-to-cache/18929)

<div class="topic-metadata">

**Author:** [@anon63767636](https://community.developer.atlassian.com/u/anon63767636)\
**Replies:** 2\
**Last updated:** [June 13, 2018, 1:59pm UTC](https://community.developer.atlassian.com/t/http-reverse-proxy-caching-what-to-cache/18929 "2018-06-13T13:59:12Z")

</div>

Hi folks, this is a hybrid question between infrastructure-related and application-related topics. I’ve approached Atlassian’s support recently because I wonder which types of content can be cached from an Atlassian app…

---

## [Disabling Velocity Cache doesn't work with Actions?](https://community.developer.atlassian.com/t/disabling-velocity-cache-doesnt-work-with-actions/14571)

<div class="topic-metadata">

**Author:** [@radi.popov](https://community.developer.atlassian.com/u/radi.popov)\
**Replies:** 4\
**Last updated:** [March 26, 2018, 8:56pm UTC](https://community.developer.atlassian.com/t/disabling-velocity-cache-doesnt-work-with-actions/14571 "2018-03-26T20:56:45Z")

</div>

Hi there, i just found out that i can disable the Cache of the Velocity templates so that i don’t have to restart the server to see velocity changes. However i noticed that the changes are taking effect only when i am …

---

## [Jira License/LicenseManager cache is not cleared when the add-ons are upgraded/disabled/enabled](https://community.developer.atlassian.com/t/jira-license-licensemanager-cache-is-not-cleared-when-the-add-ons-are-upgraded-disabled-enabled/13372)

<div class="topic-metadata">

**Author:** [@dmihalache](https://community.developer.atlassian.com/u/dmihalache)\
**Replies:** 3\
**Last updated:** [January 18, 2018, 9:29am UTC](https://community.developer.atlassian.com/t/jira-license-licensemanager-cache-is-not-cleared-when-the-add-ons-are-upgraded-disabled-enabled/13372 "2018-01-18T09:29:54Z")

</div>

We are marketplace vendors and we have discovered the following problem while testing the licensing checks we do in our add-ons. We have: Version A of our add-on, released on 2017-07-07 A commercial license with suppo…

---

## [How to Inject CacheManager](https://community.developer.atlassian.com/t/how-to-inject-cachemanager/10882)

<div class="topic-metadata">

**Author:** [@jared.petersen](https://community.developer.atlassian.com/u/jared.petersen)\
**Replies:** 1\
**Last updated:** [November 7, 2017, 7:39pm UTC](https://community.developer.atlassian.com/t/how-to-inject-cachemanager/10882 "2017-11-07T19:39:27Z")

</div>

I'm writing a plugin for JIRA server and I want to use Atlassian's built-in caching functionality. However, I'm having trouble injecting the CacheManager. If I include @Scanned at the top of my class, my plugin loads up …
