Skip to content

Conversation

@bdraco
Copy link
Member

@bdraco bdraco commented Jan 5, 2026

Description:

Documents the new compression configuration option for captive_portal and web_server components.

This option allows users to choose between Brotli (br) and gzip compression for embedded web assets. Brotli is now the default, providing ~10-24% smaller flash usage compared to gzip.

Related issue (if applicable): fixes

Pull request in esphome with YAML changes (if applicable):

Checklist:

  • I am merging into next because this is new documentation that has a matching pull-request in esphome as linked above.
    or

  • I am merging into current because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.

  • Link added in /components/_index.md when creating new documents for new components or cookbook.

@netlify
Copy link

netlify bot commented Jan 5, 2026

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit b6fe557
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/695b29cd6f6d6f0008452e3c
😎 Deploy Preview https://deploy-preview-5859--esphome.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@bdraco bdraco marked this pull request as ready for review January 5, 2026 02:30
Copilot AI review requested due to automatic review settings January 5, 2026 02:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR documents the new compression configuration option for the web_server and captive_portal components, which allows users to select between Brotli (br) and gzip compression algorithms for embedded web assets. Brotli is now the default, offering improved flash usage efficiency.

Key Changes:

  • Added compression configuration option documentation for web_server component
  • Added compression configuration option documentation for captive_portal component

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
content/components/web_server.md Added documentation for the compression option with Brotli and gzip choices
content/components/captive_portal.md Added configuration variables section with the compression option documentation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@bdraco bdraco added this to the 2026.1.0b1 milestone Jan 7, 2026
@swoboda1337 swoboda1337 merged commit 0a7e5d8 into next Jan 9, 2026
5 checks passed
@swoboda1337 swoboda1337 deleted the web_server_br branch January 9, 2026 03:45
@github-actions github-actions bot locked and limited conversation to collaborators Jan 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants