FeatureFuel
3

SDK: Provide a way to disable the cache

Source: directus/directus#22941 · opened by @stondini
Summary An external application imports data to Directus (10). Firstly, it fetches data from a legacy system and compare to the existing records in Directus. Secondly, it upsets or deletes records according to the comparison result. The application must be sure that the fetched records from Direscrus are up to date. Meaning, the cache must be disabled in order to get the latest state of the records. Also, the application authenticates using a user which is not an admin in order to avoid any other data manipulation. That means, the application can't use the clearCache() command as only admin can. Basic Example _No response_ Motivation Currently, in Directus 10, the only way to get the most recent data is to execute the clearCache() before each read command. Also, the user must be admin of the whole system which is not secure. Detailed Design A possible implementation could be to add a disableCache() extension like below in TypeScript: Requirements L…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests