Actions118
- Item Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Collection Actions
- Extension Actions
- Field Actions
- File Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Server Actions
- Setting Actions
- User Actions
- Utility Actions
- Webhook Actions
Utility → Clear Cache
AI-generatedOverview
This node performs a utility operation to clear the cache in the Directus system. It is useful in scenarios where cached data needs to be invalidated or refreshed to ensure the system operates with the most up-to-date information.
Use Case Examples
- Clearing cached data after updating content to reflect changes immediately.
- Resetting cache to troubleshoot issues caused by stale data.
Output
JSON
success- Indicates whether the cache clearing operation was successfulmessage- Provides additional information or status message about the cache clearing operation
Dependencies
- Directus API or system where cache clearing is performed
Troubleshooting
- If the cache clearing operation fails, check the API authentication credentials and permissions to ensure the node has rights to clear the cache.
- Network or connectivity issues might prevent the cache clearing request from reaching the Directus system.
- Error messages related to cache clearing might indicate internal server issues or misconfiguration in the Directus system.
Links
- Directus System Reference - Official documentation for Directus system operations including cache management.