2
Cache only for specific items
Source: directus/directus#24368 · opened by @iksent
Summary
My feature request is to create env variable, that will allow [caching]( for specific items.
It should work like CACHE_AUTO_PURGE_IGNORE_LIST but for creating cache, not purging.
Basic Example
.env file:
Motivation
In my project, users can change data in their profile, this causes the cache to be recreated for each update or user registration.
But if I disable cache purge for directus_users, then updating data in the profile will not update the data.
So I request for a new feature.
My feature request is to create env variable, that will allow [caching]( for specific items.
It should work like CACHE_AUTO_PURGE_IGNORE_LIST but for creating cache, not purging.
Basic Example
.env file:
Motivation
In my project, users can change data in their profile, this causes the cache to be recreated for each update or user registration.
But if I disable cache purge for directus_users, then updating data in the profile will not update the data.
So I request for a new feature.
No pledges yet. Be the first to back this.
Comments
Similar requests
Allow extensions to access the configured directus cache
27 votes · 0 comments
Clear cache CLI command
21 votes · 0 comments
`CACHE_ENABLED` should not affect `CACHE_CONTROL_S_MAXAGE`
1 vote · 0 comments
Show Count of Selected Items on Display Page
1 vote · 0 comments
Pass selected items to a flow in a detail item page
2 votes · 0 comments
No comments yet.