You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the Cloudflare Zlib fork has been deprecated, we implemented two experimental alternatives for Nginx: Zlib-ng and Zlib-rs. Both alternatives are designed to be drop-in replacements for the original Zlib, potentially providing improved performance and security.
Both should be considered experimental, although they should be stable and performant. We encourage users to test both alternatives and provide feedback on their performance and compatibility with Nginx.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,18 @@ All notable changes to EngineScript will be documented in this file.
4
4
5
5
Changes are organized by date, with the most recent changes listed first.
6
6
7
+
## 2026-02-26
8
+
9
+
### ⚗️ EXPERIMENTAL ZLIB ALTERNATIVES FOR NGINX
10
+
11
+
-**Added `ZLIB_IMPLEMENTATION` option** to `config/home/enginescript-install-options.txt`:
12
+
-`""` (empty/default) = standard zlib (no change from current behavior)
13
+
-`"zlib-ng"` = zlib-ng, a high-performance C drop-in replacement using `--zlib-compat` mode
14
+
-`"zlib-rs"` = zlib-rs, a Rust-based implementation (requires cargo/rustc on the server)
15
+
-**Added `ZLIB_NG_VER` and `ZLIB_RS_VER`** to `enginescript-variables.txt` for centralized version management.
16
+
-**Updated `scripts/install/zlib/zlib-install.sh`**: Now prepares the selected zlib alternative alongside the standard zlib download. Handles zlib-ng configure wrapper, stub Makefile (for nginx distclean compatibility), and zlib-rs cargo build + prefix install.
17
+
-**Updated `scripts/install/nginx/nginx-compile.sh`**: Dynamically sets `--with-zlib` flags or include/link paths based on `ZLIB_IMPLEMENTATION`. Appends a build tag (`-zlibng` or `-zlibrs`) to the nginx `--build` string for identification.
0 commit comments