[TYPO3-core] Flushing output buffers before sending thumbnails

François Suter fsu-lists at cobweb.ch
Tue Feb 12 20:13:10 CET 2013


Hi,

> Maybe check the lengh of the buffer with ob_get_length() and write a log
> entry if there is any content in the output buffer?
>
> Or would that be too much overhead?
>
> Is nobody would expect any text-output from that file, I agree that
> ob_clean() is fine here.

In this case I think it would be an overhead, because any feedback from 
the thumbnail rendering process happens either via exceptions of error 
images. So any actual output is always image-based.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list