Tag Info

New answers tagged


This should not break pagination: add_filter('pre_get_posts', 'optimized_get_posts', 100); function optimized_get_posts() { global $wp_query, $wpdb; $wp_query->query_vars['no_found_rows'] = 1; $wp_query->found_posts = $wpdb->get_var( "SELECT COUNT(*) FROM wp_posts WHERE 1=1 AND wp_posts.post_type = 'post' AND (wp_posts.post_status = ...


Using the Network tool in the Inspector I found out that there was a third party caching service in action. "Cloudflare" via Bluehost.

Top 50 recent answers are included