Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8181081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:24:11+00:00 2026-06-07T00:24:11+00:00

It looks like this block directly flushes the output. What’s the practical use of

  • 0

It looks like this block directly flushes the output.

What’s the practical use of this block?
How can I use it?

Did anybody ever use it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T00:24:13+00:00Added an answer on June 7, 2026 at 12:24 am

    It’s not used by the core (afaik). It turns off output buffering, so the rendered output would be sent immediately. The only block where it would kind of work would be the root block, otherwise the nested core/flush block and all following blocks would be rendered before the containing outer blocks.

    I can’t think of a sensible use case. Since the front controller is responsible for sending the output to the client, the core/flush block breaks his process. In the worst case it could lead to PHP Headers already sent notices.

    I don’t know, but my guess is it is a relict from the pre-release days of Magento, where the whole rendering system wasn’t finalized yet. Probably seemed like a good idea at the time.
    Maybe someone who was with the core team at the time can enlighten us about the history.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a tree expression that looks like this: .Block( System.Object $instance, MyType2 $result)
The master template in my Django app looks like this: {% block parent %}
I have a block of text that looks like this: <!-- BOF CLEAN -->
Looks like this question has been asked thousand times already, but each person's configuration
jquery looks like this $.post('JSP/processForm.jsp', $(#Form).serialize(), function(data){ //I want to iterate through every line
It looks like this question has been asked dozens of times, but none of
It looks like this template tag works like a charm for most people: http://blog.localkinegrinds.com/2007/09/06/digg-style-pagination-in-django/
View Looks Like This <?=form_open_multipart('upload/process');?> <input type=file multiple=multiple name=userfile[] id=userfile /> <?=form_submit('upload', 'Upload');?> <?=form_close();?>
The string looks like this: x = '''High;10;Assigned;2012/06/12 10:11:02 Low;20;Assigned;2012/06/12 10:11:02 Medium;30;Assigned;2012/06/12 10:11:02''' I
Spreadsheet Sheet3 looks like this: S&P 500 DJIA 1/1/1991 795.4476 2973.09 1/2/1991 786.3856 2947.1

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.