Commit 18e852e4 authored by Dries's avatar Dries
Browse files

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

parent 91e8b1b1
......@@ -273,6 +273,7 @@ function page_set_cache() {
$data = gzencode($data, FORCE_GZIP);
}
}
ob_end_flush();
cache_set($base_url . request_uri(), $data, CACHE_TEMPORARY, drupal_get_headers());
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment