directus / directus

The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.

Home Page:https://directus.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloudinary Storage: Old image returned after replacing/editing

paescuj opened this issue · comments

Describe the Bug

With Cloudinary storage, the old image is still displayed after replacing or editing an image via the File Library.

As pointed out by @joselcvarela in #22551 (comment), this comes from the fact that the files aren't invalidated.

To Reproduce

  • Setup Cloudinary Storage 1
  • Upload an image to the File Library
  • Replace/Edit that image
cloudinary-repro.mp4

(After editing, the image isn't loading anymore inside the image editor, not sure if that is a consequence of the issue)

Directus Version

10.11.1

Hosting Strategy

Self-Hosted (Docker Image)

Database

N/A

Footnotes

  1. https://docs.directus.io/self-hosted/config-options.html#cloudinary-cloudinary