Skip to content

Add a second file streaming method - #9

Merged
QuickWrite merged 1 commit into
mainfrom
1-add-optional-external-file-delivery
Sep 23, 2026
Merged

QuickWrite merged 1 commit into
mainfrom
1-add-optional-external-file-delivery

Conversation

@QuickWrite

Copy link
Copy Markdown
Owner

The default file streaming method is still the PHP filestreaming method. However as this method does have the issue of hogging up resources that can be used by other PHP processes, the method can now be delegated to the Apache Web Server.

When activated, the response will only contain a header entry that states that the Apache Web Server should serve the file and as such delegating. However as this requires an Apache Web Server with the mod_xsendfile extension enabled, it is not on by default and must be enabled using an environment variable.

Closes #1

The default file streaming method is still the PHP filestreaming method.
However as this method does have the issue of hogging up resources that
can be used by other PHP processes, the method can now be delegated to
the Apache Web Server.

When activated, the response will only contain a header entry that
states that the Apache Web Server should serve the file and as such
delegating. However as this requires an Apache Web Server with the
mod_xsendfile extension enabled, it is not on by default and must be
enabled using an environment variable.
@QuickWrite QuickWrite self-assigned this Sep 22, 2026
@QuickWrite QuickWrite added the enhancement New feature or request label Sep 22, 2026
@QuickWrite QuickWrite linked an issue Sep 22, 2026 that may be closed by this pull request
@QuickWrite
QuickWrite merged commit c3b764c into main Sep 23, 2026
2 checks passed
@QuickWrite
QuickWrite deleted the 1-add-optional-external-file-delivery branch September 23, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add optional external file delivery

1 participant