Invalidate the cache for imported entities

Created on 24 February 2023, over 2 years ago

Problem/Motivation

First I just want to say that this is a great module, extremely well written - thank-you for it!

From our testing we have found after import we need to clear the render cache in order for our updated nodes to show the latest imported content. I would like to propose a feature to invalidate the cache on each individual entity that is not new during the import in order to avoid doing a clear cache each time.

Steps to reproduce

0. view node A
1. import node A with updated content
2. reload node A view and see that the node does not reflect the latest imported content
3. clear the render cache
4. reload node A view and see that the node now reflects the latest imported content

Proposed resolution

Add code to invalidate the cache per imported entity that is not new.

Remaining tasks

Test coverage? Not sure what to do there.

User interface changes

None, but perhaps this is something that should be configurable if there reasons for not doing it.

API changes

None.

Data model changes

None.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada joel_osc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024