Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Issue #532: Clean up BigPipe docs further.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Mar 31, 2016
1 parent 2264d6e commit 45480a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/other/bigpipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Drupal VM's Varnish configuration works with BigPipe out of the box, as it allow

## PHP configuration

BigPipe doesn't require any particular modifications to PHP in Drupal VM's default configuration. However, for some test scenarios, you can disable php's `output_buffering` entirely by setting `php_output_buffering: "Off"` in `config.yml`.
BigPipe doesn't require any particular modifications to PHP in Drupal VM's default configuration. However, for some scenarios, you might want to disable php's `output_buffering` entirely by setting `php_output_buffering: "Off"` in `config.yml`, or change the `output_buffering` level from it's default of `4096` bytes.

## Nginx configuration

Expand All @@ -29,8 +29,6 @@ For all of these methods, you have to make sure `mod_deflate` gzip compression i

This will disable the `mod_deflate` module for any requests inside that directory.

> Even without gzip, `mod_proxy_fcgi` buffers responses in a minimum of 4096-byte chunks. Most BigPipe usage deals with chunks of content larger than that, but if you're testing PHP's output buffering and notice that Apache delivers the entire page at once instead of flushing output immediately, you might be running into this buffer. See [this issue](https://github.com/geerlingguy/drupal-vm/issues/532#issuecomment-203128163) for more information.
If you want to switch Apache to use `mod_php` instead of proxying requests through PHP-FPM, you can make the following changes in `config.yml`:

1. Add `libapache2-mod-php5` to `extra_packages` in `config.yml`.
Expand Down

0 comments on commit 45480a8

Please sign in to comment.