Skip to content

Pre compress critical served files in brotli to be served out by nginx#447

Merged
poespas merged 2 commits intomasterfrom
Pre-compress-critical-served-files-in-Brotli-to-be-served-out-by-nginx
Jan 23, 2026
Merged

Pre compress critical served files in brotli to be served out by nginx#447
poespas merged 2 commits intomasterfrom
Pre-compress-critical-served-files-in-Brotli-to-be-served-out-by-nginx

Conversation

@poespas
Copy link
Collaborator

@poespas poespas commented Jan 9, 2026

Nginx supports the brotli_static option, which is enabled by default on our servers. This allows us to serve precompressed Brotli assets directly, rather than compressing responses on each request.

This change adds a build-time step to precompress assets during deployment. By serving the precompressed files as-is, we eliminate the runtime CPU overhead associated with on-the-fly compression.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

Acceptance server is available at https://docs-eph0wdmr4.hypernode.io.

@poespas poespas merged commit 6df1301 into master Jan 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants