Opened 6 years ago
Closed 6 years ago
#516 closed defect (fixed)
Call ob_end_flush, not ob_end_clean, in phase 2
| Reported by: | boredzo | Owned by: | gallir |
|---|---|---|---|
| Priority: | normal | Component: | wp-cache |
| Severity: | normal | Keywords: | patch blank empty response |
| Cc: |
Description
The PHP docs state that ob_end_clean simply drops the output buffer, whereas ob_end_flush sends the output buffer to the client. The latter behavior is required to avoid an empty response the first time a given file is requested (according to “WP-Cache and the Blank Page problem”). I have tested the fix and it works as advertised.
Attachments (1)
Change History (3)
Changed 6 years ago by boredzo
comment:1 Changed 6 years ago by boredzo
- Type changed from enhancement to defect
Yipe! I didn't mean to change the type; sorry. This is properly a defect, since the “blank page problem” is a bug.
comment:2 Changed 6 years ago by rmm5t
- Resolution set to fixed
- Status changed from new to closed
This looks like this was already fixed in ChangeSet? [7181]
Note: See
TracTickets for help on using
tickets.

Patch to replace the call to ob_end_clean in phase 2 with a call to ob_end_flush instead.