Skip to content

Commit 24fd7f0

Browse files
committed
documentation
1 parent 69c9839 commit 24fd7f0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/pages/product/configuration/reference/environment-variables.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,14 @@ downloading Cube Store.
10011001
| ------------------ | ---------------------- | --------------------- |
10021002
| A valid GitHub PAT | `false` | `false` |
10031003

1004+
## `CUBEJS_HASHER_ALGORITHM`
1005+
1006+
The hashing algorithm used for cache keys, query hashes, and pre-aggregation versioning. Changing this value will invalidate all existing cached data and pre-aggregations. MD5 is used by default for historical compatibility; SHA-256, SHA-512, and [xxHash][xxhash-ref] are also available. Performance may vary based on the specific workload and environment, so it's recommended to benchmark different algorithms to determine the best fit for your use case.
1007+
1008+
| Possible Values | Default in Development | Default in Production |
1009+
| ----------------------------------- | ---------------------- | --------------------- |
1010+
| `md5`, `sha256`, `sha512`, `xxhash` | `md5` | `md5` |
1011+
10041012
## `CUBEJS_JWK_URL`
10051013

10061014
Enables [JSON Web Key (JWK)][ietf-jwk-ref]-based authentication in Cube.
@@ -1902,3 +1910,4 @@ The port for a Cube deployment to listen to API connections on.
19021910
[ref-time-dimensions]: /product/data-modeling/reference/dimensions#time
19031911
[ref-time-zone]: /product/apis-integrations/queries#time-zone
19041912
[link-tzdb]: https://en.wikipedia.org/wiki/Tz_database
1913+
[xxhash-ref]: https://xxhash.com/

0 commit comments

Comments
 (0)