output buffering is slow
-
Looking at the code, it seems that you are unnecessarily slowing things down by using output buffering.
if( $shauns_wp_query->have_posts() ) { $output = do_shortcode( $content ); ob_start(); echo $output; $output = ob_get_contents();; ob_end_clean(); }should be
if( $shauns_wp_query->have_posts() ) { $output = do_shortcode( $content ); }
The topic ‘output buffering is slow’ is closed to new replies.