Skip to content

IBX-11776: Fixed invalidating files when the content version didn't change#80

Open
Sztig wants to merge 2 commits into
4.6from
IBX-11776-sameversion-file-cache-purge-fix
Open

IBX-11776: Fixed invalidating files when the content version didn't change#80
Sztig wants to merge 2 commits into
4.6from
IBX-11776-sameversion-file-cache-purge-fix

Conversation

@Sztig
Copy link
Copy Markdown
Contributor

@Sztig Sztig commented May 15, 2026

🎫 Issue IBX-11776

Description:

This bug happens when we have a draft and we are making changes in this draft (in our case - the image).
Since the files are served without tagging by default, regular tag invalidation that happens when publishing content is not enough to refresh the changes.
In our logic, since it is still a draft, the content version didn't change ergo the file is presented when published without any changes. Without this fix to see the changes we would need to republish the content once again.
I have added a subscriber BinaryFileHttpCachePurgeSubscriber that explicitly purges the URI for ezimage, ezbinaryfile, and ezmedia when publishing the content.

@Sztig Sztig requested a review from a team May 15, 2026 14:58
@Sztig Sztig force-pushed the IBX-11776-sameversion-file-cache-purge-fix branch from 6eb6655 to 4960e6e Compare May 15, 2026 16:31
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants