- Patch #19933 by willmoy: stop output buffering once the page has been rendered.

4.6.x
Dries Buytaert 2005-04-05 19:00:24 +00:00
parent 91e8b1b1e4
commit 18e852e4e7
1 changed files with 1 additions and 0 deletions

View File

@ -273,6 +273,7 @@ function page_set_cache() {
$data = gzencode($data, FORCE_GZIP); $data = gzencode($data, FORCE_GZIP);
} }
} }
ob_end_flush();
cache_set($base_url . request_uri(), $data, CACHE_TEMPORARY, drupal_get_headers()); cache_set($base_url . request_uri(), $data, CACHE_TEMPORARY, drupal_get_headers());
} }
} }