Ticket #516: patch-flush.diff

File patch-flush.diff, 389 bytes (added by boredzo, 5 years ago)

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

  • wp-cache-phase2.php

     
    217217                        array_push($meta_object->headers, "Content-Type: $value"); 
    218218                } 
    219219        } 
    220         ob_end_clean(); 
     220        ob_end_flush(); 
    221221        if ($new_cache) { 
    222222                $serial = serialize($meta_object); 
    223223                wp_cache_writers_entry();