# Ð’Ð¾Ð¿Ñ€Ð¾Ñ Ð¿Ñ€Ð¾ flush

**URL:** <https://www.ruby-forum.com/t/d-d-d-n-d-n-d-n-d-flush/192672>\
**Category:** NGINX\
**Created:** [August 3, 2010, 9:08pm UTC](https://www.ruby-forum.com/t/d-d-d-n-d-n-d-n-d-flush/192672 "2010-08-03T21:08:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asoto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@asoto](https://www.ruby-forum.com/u/asoto)\
**Post date:** [August 3, 2010, 9:08pm UTC](https://www.ruby-forum.com/t/d-d-d-n-d-n-d-n-d-flush/192672/1 "2010-08-03T21:08:17Z")

</div>

Ð˜Ð³Ð¾Ñ€ÑŒ,

Ð’Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ Ð»Ð¸ (Ð¸ ÐºÐ°Ð¶ÐµÑ‚ÑÑ Ð»Ð¸ Ð²Ð°Ð¼ Ð½ÑƒÐ¶Ð½Ñ‹Ð¼) Ð² SSI Ð¼Ð¾Ð´ÑƒÐ»Ðµ Ð´Ð¾Ð±Ð°Ð²Ð¸Ñ‚ÑŒ ÐºÐ¾Ð¼Ð°Ð½Ð´Ñƒ

ÐšÐ¾Ñ‚Ð¾Ñ€Ð°Ñ Ð±Ñ‹ Ñ€Ð°Ð±Ð¾Ñ‚Ð°Ð»Ð° Ð¿ÑƒÑÑ‚ÑŒ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ ÐµÑÐ»Ð¸ Ð¼Ð¾Ð¶ÐµÑ‚ (Ð³Ð»Ð°Ð²Ð½Ñ‹Ð¹ SSI, Ð´Ð¾ Ð¿ÐµÑ€Ð²Ð¾Ð³Ð¾  
flush Ð¸Ñ‚Ð¿), Ð½Ð¾ Ð² Ð»ÑŽÐ±Ð¾Ð¼ ÑÐ»ÑƒÑ‡Ð°Ðµ Ð¿Ð¾Ð·Ð²Ð¾Ð»ÑÐ»Ð° Ð±Ñ‹ Ñ„Ð¾Ñ€ÑÐ¸Ñ€Ð¾Ð²Ð°Ñ‚ÑŒ Ð¿ÐµÑ€ÐµÐ´Ð°Ñ‡Ñƒ Ð´Ð°Ð½Ð½Ñ‹Ñ…  
ÐºÐ»Ð¸ÐµÐ½Ñ‚Ñƒ?

Ð•Ñ‰Ñ‘ ÐºÑ€ÑƒÑ‡Ðµ ÐºÐ¾Ð½ÐµÑ‡Ð½Ð¾ Ð±Ñ‹Ð»Ð¾ Ð±Ñ‹ ÑÐ´ÐµÐ»Ð°Ñ‚ÑŒ Ð¿ÐµÑ€ÐµÐ´Ð°Ñ‡Ñƒ Ð´Ð°Ð½Ð½Ñ‹Ñ… “Ð½ÐµÐ¼ÐµÐ´Ð»ÐµÐ½Ð½Ð¾”, ÐºÐ°Ðº  
Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¸ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ð»Ð¸ÑÑŒ Ð¿Ð¾ Ð°Ð½Ð°Ð»Ð¾Ð³Ð¸Ð¸ Ñ add\_before\_body… Ð¡Ð»Ð¾Ð¶Ð½ÐµÐµ  
Ð½Ð°Ð²ÐµÑ€Ð½Ð¾Ðµ…

ÐÐ¾ Ñ Ð¿Ñ€ÐµÐ´ÑÑ‚Ð°Ð²Ð»ÑÑŽ ÐºÐ°ÐºÐ¾Ð¹ ÑÑ„Ñ„ÐµÐºÑ‚Ð¸Ð²Ð½Ð¾ÑÑ‚Ð¸ Ð¼Ð¾Ð¶Ð½Ð¾ Ð´Ð¾Ð±Ð¸Ñ‚ÑŒÑÑ Ð¾Ñ‚ nginx Ð¿Ð¾ÐºÐ°Ð·Ð°Ñ‚ÑŒ  
Ð²ÐµÑ€Ñ…Ð½ÑŽÑŽ Ñ‡Ð°ÑÑ‚ÑŒ ÐºÐ°ÐºÐ¾Ð³Ð¾-Ð½Ð¸Ð±ÑƒÐ´ÑŒ ÑÐ°Ð¹Ñ‚Ð° ÐµÑÐ»Ð¸ Ñ‚Ð°ÐºÐ¾Ðµ Ñ€ÐµÐ°Ð»Ð¸Ð·Ð¾Ð²Ð°Ñ‚ÑŒ…

Ñ‡Ñ‚Ð¾-Ñ‚Ð¾ Ñ‚Ð¸Ð¿Ð°:

location /search {  
flush\_before\_body /templates/my\_static\_header.html;  
try\_files @wsgi\_search /templates/system\_error.html;  
add\_after\_body /templates/my\_static\_footer.html;  
};

Ð¡Ð°ÑˆÐ°.

---

<div class="post-metadata">

**Author:** ![asoto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@asoto](https://www.ruby-forum.com/u/asoto)\
**Post date:** [August 3, 2010, 9:24pm UTC](https://www.ruby-forum.com/t/d-d-d-n-d-n-d-n-d-flush/192672/2 "2010-08-03T21:24:06Z")

</div>

I’m sorry for sending it here, everyone 🙂

Question was intended to go to nginx-ru mailing list and I used wrong  
one…

(Asking Igor if he would consider adding “flush” function to SSI module)

Alex.
