Skip to content

Commit

Permalink
Update output buffering setting description
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Arntz <[email protected]>
  • Loading branch information
westonruter and felixarntz authored Aug 17, 2023
1 parent 4868823 commit 68d7983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/server-timing.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function perflab_render_server_timing_page_output_buffer_checkbox() {
?>
<?php endif; ?>
<?php endif; ?>
<?php esc_html_e( 'This is needed to capture metrics after headers have been sent and the template is being rendered. Without output buffering, adding a hook that fires during template rendering may result in a PHP notice: "Function Perflab_Server_Timing::register_metric was called incorrectly. The method must be called before or during the perflab_server_timing_send_header action." Note that output buffering may possibly cause an increase in TTFB if the response would be flushed multiple times.', 'performance-lab' ); ?>
<?php esc_html_e( 'This is needed to capture metrics after headers have been sent and while the template is being rendered. Note that output buffering may possibly cause an increase in TTFB if the response would be flushed multiple times.', 'performance-lab' ); ?>
</p>
</fieldset>
<?php
Expand Down

0 comments on commit 68d7983

Please sign in to comment.