Skip to content

docs: add PHP built-in server limitations for SSEResponse#10343

Open
datamweb wants to merge 1 commit into
codeigniter4:4.8from
datamweb:docs/sse-dev-server-limitations
Open

docs: add PHP built-in server limitations for SSEResponse#10343
datamweb wants to merge 1 commit into
codeigniter4:4.8from
datamweb:docs/sse-dev-server-limitations

Conversation

@datamweb

@datamweb datamweb commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Description
This PR adds a documentation note for SSEResponse about local development limitations when using PHP's built-in server via php spark serve.

Because SSE keeps HTTP connections open for a long time, the built-in server may become busy serving the stream, causing other requests to appear slow, blocked, or delayed during development.

The new note clarifies that this behavior is an environment limitation, not an issue with SSEResponse, and recommends testing SSE with a server stack that handles concurrent requests more effectively.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@github-actions github-actions Bot added documentation Pull requests for documentation only 4.8 PRs that target the `4.8` branch. labels Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.8 PRs that target the `4.8` branch. documentation Pull requests for documentation only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant