Is there a way to Flush the Buffer Early by using Jekyll pages?

Hi everyone, wondering if is there a way to Flush the Buffer Early by using Jekyll pages?
Since all of the talking points about how to flush the buffer early for the head tag is about the php flush function, I am looking for the way to do for the Jekyll sites/pages. Any one can chime in here? Thank you very much!!