Skip to content

Instantly share code, notes, and snippets.

@incomestore
incomestore / php_output_buffering_nginx
Created June 18, 2015 19:13
Output buffering in PHP on nginx
<?php
ob_implicit_flush(1);
for ($i = 0; $i < 10; $i++;)
{
@header("Content-Encoding: none");
echo $i;
//this is for the buffer achieve the minimum size in order to flush data
// technical overview bar chart
$('#technical-score-overall').highcharts({
chart: {
type: 'column'
},
credits: false,
plotOptions: {
column: {
pointPadding: -1,
borderWidth: 0