> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployment changes

> This document outlines the additional configuration changes required for deployment in version 4.0

### Revised cache key organization

To ensure a smooth transition to the 4.0 release, it's crucial to clear the cache before upgrading to v4.0. Use the following endpoint and request body for cache clearing:

<Check>
  Ensure that this operation is carried out by a user with an admin role.
</Check>

##### Endpoint:

`POST {{baseUrlAdmin}}/api/internal/cache/clear`

##### Body:

```json theme={"system"}
{
    "cacheNames": [
        "flowx:core:cache"
    ]
}
```

<Info>
  This endpoint is designed to purge Redis caches selectively. It will exclusively delete caches that are specified in the admin microservice properties under the property key: "application.redis.clearable-caches".
</Info>

<Card title="Clear Cache 4.0" href="/4.0/docs/api/clear-cache4.0" icon="link" />

### Access rights for Theme Management

To utilize the new theme management feature, make sure the following access rights are configured for the CMS microservice:

| Module        | Scope  | Role default value   | Microservice       |
| ------------- | ------ | -------------------- | ------------------ |
| manage-themes | import | ROLE\_THEMES\_IMPORT | Content Management |
|               | import | ROLE\_THEMES\_EDIT   | Content Management |
|               | import | ROLE\_THEMES\_ADMIN  | Content Management |
| manage-themes | read   | ROLE\_THEMES\_READ   | Content Management |
|               | read   | ROLE\_THEMES\_EDIT   | Content Management |
|               | read   | ROLE\_THEMES\_ADMIN  | Content Management |
|               | read   | ROLE\_THEMES\_IMPORT | Content Management |
| manage-themes | edit   | ROLE\_THEMES\_EDIT   | Content Management |
|               | edit   | ROLE\_THEMES\_ADMIN  | Content Management |
| manage-themes | admin  | ROLE\_THEMES\_ADMIN  | Content Management |

<Card title="FlowX CMS access rights" href="/4.0/setup-guides/access-management/configuring-access-rights-for-cms" icon="link">
  Learn more
</Card>

### Logging

To streamline logging and enhance readability, you can now disable health endpoint calls cluttering the logs of various deployed FlowX microservices using the following environment variables:

* `LOGGING_LEVEL_WEB: INFO` (default)
* `LOGGING_LEVEL_ORG_SPRINGFRAMEWORK_WEB: INFO` (default)

<Info>
  If logs lack detail, consider setting the value to ‘DEBUG’.
</Info>
