# Bug OP-9491 - Notification images are cached for years without invalidation means - old images shown

Project: OpenProject
Status: confirmed
URL: https://community.openproject.org/work_packages/OP-9491

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Notification center |
| Target versions |  |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Logs**

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/23677/content"></div></figure>

### **Steps to reproduce:**

1.  Have visited the notification center before (ideally before the image was changed)
2.  Open notification center

### **Actual Behavior**

An old, possibly outdated notification image id displayed. Whether that is the case depends on time a user first visited the notification center. But since there is no means of invalidating the picture on a new OpenProject version that image can stick for years on users browsers.

Additionally, the image is loaded from the application server and not from cloudfront on SaaS.

### **Expected Behavior**

Means to invalidate the images on a new OpenProject version.
