Directus (flagbit) icon

Directus (flagbit)

Consume Directus API

Utility → Clear Cache

AI-generated

Overview

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

  1. Clearing cached data after updating content to reflect changes immediately.
  2. Resetting cache to troubleshoot issues caused by stale data.

Output

JSON

  • success - Indicates whether the cache clearing operation was successful
  • message - 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

Discussion