What is bilmur.min.js used for?

  • Unknown's avatar

    Hi!

    I understand that bilmur.min.js is a file related to Jetpack, but I can’t why it exists.

    Right now, I’m using only stats and VaultPress from Jetpack, and yet this file is loaded. Which wouldn’t be a problem if it didn’t add ~2 seconds to my site’s fully loaded time (it drops from ~2,4s to 0,3s when I block this JavaScript).

    I’m blocking it, btw, using a Content Security Police, which I guess isn’t ideal, but it was the only way to prevent it from loading. So, I’m kindly ask: is there another way to avoid loading bilmur.min.js when using Jetpack?

    The blog I need help with is: (visible only to logged in users)

  • Hello,

    I appreciate your detailed explanation of the issue you’re facing with the bilmur.min.js file from Jetpack. This file is indeed related to Jetpack, and it’s understandable that you’re concerned about its impact on your site’s loading time.

    Given your specific use of Jetpack (stats and VaultPress), I recommend reaching out to Jetpack’s support team directly for further assistance with ensuring that only the necessary components are loaded.

    Since your site is hosted elsewhere, our support is limited to sites hosted on WordPress.com’s managed hosting. However, if you’re open to it, we offer a migration service that can bring your site to our managed hosting, allowing us to provide more comprehensive assistance.

    In the meantime, you can visit the Jetpack support forums for assistance specific to your current hosting environment: https://wordpress.org/support/plugin/jetpack/

    If you decide to explore migration to WordPress.com, you can learn more about the process here: https://wordpress.com/support/import/import-using-move-to-wordpress-com/

    I hope this information helps, and please let me know if there’s anything else I can assist you with!

  • Unknown's avatar

    Thanks, @staff-totoro! I also opened a topic on Jetpack forums. But just to clarify (and explain why I opened this topic here as well), my site is hosted at WordPress.com’s Business plan.

    In this case, could you help? I only have Jetpack installed because WordPress.com doesn’t allow me to uninstall it…

  • Hi again,

    Thanks for clarifying. Upon closer inspection I see that you have disabled quite a few Jetpack modules on your site, and this has the effect of making it appear as a site hosted with another provider. The Cloudflare DNS also masks this a bit, though it seems you may be using custom A Records to route site traffic back to WordPress.com managed hosting.

    I am unsure what the specific purpose of the js file you mentioned is, so you may get a clearer reply from Jetpack staff directly. Generally speaking though we are your first point of contact for site support questions, so apologies for not catching the fact that this is a WordPress.com Business Site initially.

    Our managed hosting relies quite a bit on Jetpack features to ensure that everything runs smoothly with your site, so it may help to understand why you have deactivated so many features. You have a performance concern of some kind that you trying to address?

    Out of curiosity, did you have a specific reason to be using Cloudflare DNS as well? We do support it but also it’s not typically necessary since we are already a robust platform with built in performance, scaling, traffic handling, global CDN, etc. More info here:

    https://wordpress.com/hosting/

    Hope that helps. Please let us know if you have any more questions.

  • Unknown's avatar

    No problem, @staff-totoro!

    I moved to WordPress.com a couple months ago, due to Automattic servers’ excellent speed, uptime, and cost.

    My site is running for more than a decade, and I’ve always been slightly obsessed with speed and optimization.

    When I moved to WordPress.com, I activated a bunch of Jetpack stuff, since I’ve never used it before, and I noticed that my optimizations on template level were more effective to output faster pages. (See the bilmur.min.js drawback, for instance.)

    Besides that, I already had in place several Jetpack features, suck as newsletters, image optimization, and CDN.

    Regarding Cloudflare, I managed my domains from there and I rely on its WAF to stop some zombie nets that insists in subscribing to my newsletter (zero idea why). I guess Jetpack/WP.com offers a WAF, but, honestly, I couldn’t find it or where to set its rules.

    Thanks for your attention!

  • Unknown's avatar

    @staff-totoro, apparently this script is used to collect real user monitoring data, which is a bummer and IMHO should be opt-in even on WP.com: https://github.com/Automattic/jetpack/pull/23721

    One more reason to despise Jetpack. I really wish I could deactivate it…

  • Unknown's avatar

    It seems like the pull request was closed without being merged into the Jetpack plugin, so it’s not a direct part of Jetpack. However, I reached out to our developers to understand the purpose of the script.

    This script is designed to enhance and maintain performance on our hosting platform, and it doesn’t collect any personal identifying information (PII) for user privacy.

    If you want to remove it, you can remove this specific script by adding the following to a snippet via a plugin like Code Snippets:

    remove_action( 'wp_footer', 'wpcomsh_footer_rum_js' );

    I hope that helps! If you have any further questions or need help with anything else, please don’t hesitate to reach out.

  • Unknown's avatar

    Awesome, @staff-heroponriki! It helped a lot. Thanks!

  • The topic ‘What is bilmur.min.js used for?’ is closed to new replies.