Skip to content

Make WordPress Admin FAST by blocking Browse Happy API calls

Do you feel a huge slow down when you first login to WordPress admin? I felt the same and to learn more about this issue I developed a plugin called HTTP Requests Manager.

It monitors and optimizes WP_HTTP requests in WordPress.

Watch how monitoring WP_HTTP requests helped me to identify Browse Happy API calls. It is one of the factors that is responsible for slow WordPress admin pages.

Watch a video on Youtube.

More WP_HTTP optimization tutorials can be found in this playlist.

What are Browse happy calls?

Browse Happy API calls send remote requests via WP_HTTP to check if the user uses a modern browser. It wants to make sure that the user browser is capable of running all WordPress user interface features.

Browse happy was effective for detecting old browsers like Internet Explorer and showing warning messages suggesting to switch to Google Chrome or Firefox browsers.

Actually I do not remember seeing any Browse Happy warnings. Because I have not used Internet Explorer since 2000. And I was already using modern browsers.

So why in 2024 still check if the admin is using modern browsers?

No need to check because everybody uses modern browsers. And all WordPress user interface features works perfectly on regular chrome, firefox, opera and any other android and ios browsers.

So checking for modern browsers via external API calls is a waste of server resources.

Even if WordPress really needs (we know that it is not necessary) to check if I am using a modern browser it can check it via javascript without sending external requests.

Why do Browse Happy calls slow down WordPress admin?

Browse Happy API called when you login to WordPress admin area.

From the screenshot above made in the HTTP Requests Manager plugin we can see that the Browse Happy API call took 0.8 seconds to load. This WP_HTTP request time is added to page generation time which increased to 2.1 seconds.

So without this Browse Happy API call WordPress admin page (wp-admin) would load in 1.3 seconds. Which is almost twice faster.

WordPress admin is slowed down by a useless external request “Browse Happy API”.

How to optimize Browse Happy API calls?

You can optimize Browse Happy API calls by disabling or blocking them.

There is no built-in feature in WordPress to disable Browse Happy API calls.

Luckily we can disable it using the HTTP Requests Manager plugin.

That is exactly why I added blocking Browse Happy API calls to plugin so that everyone can benefit from it for free.

Blocked Browse Happy API WP_HTTP calls. Faster WordPress admin pages.

There is “Smart Block” operation mode in the HTTP Requests Manager plugin.

  1. Navigate to “Tools” → “HTTP Requests Manager” page.
  2. Switch to “Settings” tab.
  3. Select operation mode as “Smart Block”.

This will block all Browse Happy API calls along with other WP_HTTP optimizations.

Browse Happy check is not initiated by WordPress Core only. I have seen that some popular plugins were using this Browse Happy API calls in the front end as well.

So blocking with “Smart block” will also block them. This will keep your website as fast as possible.

How to find other WP_HTTP calls that slow down admin pages?

Find all API calls via WP_HTTP records on /wp-admin/ page.

You can view per page WP_HTTP API calls

  1. Navigate to “Tools” → “HTTP Requests Manager” page.
  2. Select the “Group by Page URL” option from the select box at the top of that page.

You will see requests grouped by Page URL. From there pay attention to /wp-admin/ and /wp-admin/index.php pages

Most common API calls that slow down your WordPress website are automatically blocked in “Smart Block” mode.

Learn which API calls are blocked for optimizing WordPress in Smart Block mode.

Conclusion

WordPress has some old features like Browse Happy API calls which are not required in current days. Everyone has a modern browser that can handle all WordPress user interface features.

Every API call (external request) slows down WordPress website. By blocking unused API calls you will speed up WordPress website while keeping the website fully functional.

That is exactly what HTTP Requests Manager plugin designed and used for.

Leave a Reply

Your email address will not be published. Required fields are marked *