Skip to main content

jQuery and How It Affects Your Store

Removing jQuery from Rebuy.js, its impact on performance, and how to disable it for improving load times

Christian Sokolowski avatar
Written by Christian Sokolowski
Updated over 3 weeks ago

This document explains the recent removal of jQuery from Rebuy.js components, highlighting the performance improvements and how it affects new and existing installations. It also provides guidance on how to disable jQuery for merchants who don't require it, helping to reduce load times and optimize site performance.

Note, if you installed after September 1, 2025 jQuery will be disabled by default.

What is jQuery?

jQuery is a popular, fast, and lightweight JavaScript library used to simplify the process of interacting with HTML documents, handling events, creating animations, and managing AJAX requests. It was widely used for ensuring compatibility across different web browsers and providing easy-to-use methods for common JavaScript tasks.


Have We Removed jQuery?

Yes! After an extensive review, we've officially removed the jQuery dependency from our core Rebuy.js components. This change was made to improve performance, reduce load times, and make the platform more modern and efficient.


What Does This Change Mean for You?

  • New Installations: Starting with this release, all new installations will have jQuery disabled by default. This will help reduce the overall page load size and improve performance for merchants who don’t rely on jQuery.

  • Existing Installations: For existing installations, jQuery will still be enabled by default. However, if you are not using jQuery through custom code or templates, you can toggle it off in the App Settings. Turning jQuery off will save in load size, which can help speed up your site.

  • Async Loading: jQuery is now loaded as a separate, asynchronous API process (vendor-jquery). This ensures that jQuery is only loaded when needed, which improves the overall performance and reduces unnecessary resources being loaded.


How to Disable jQuery

  • Step 1: Log in to the Rebuy Admin Portal

  • Step 2: Navigate to the Settings Tab - Once logged in, go to the Settings tab on the left-hand side of the admin portal.

  • Step 3: Select "App Settings" - In the Settings section, find and click on App Settings.

  • Step 4: Disable jQuery - In the App Settings page, find the option for jQuery and toggle it to "No." This will disable jQuery and help improve load times if you don't require it for custom code or templates. New merchants as of September 1, 2025 will have jQuery disabled by default.


Why Is This Important?

Disabling jQuery can lead to faster page loads and a cleaner, more optimized site. If your site doesn’t require jQuery, turning it off will save bandwidth and improve your site's performance.


FAQs

Is there anything else I can do to improve Rebuy’s load speed other than disabling jQuery?
Yes! In addition to disabling jQuery, you can improve Rebuy’s load speed by installing the Rebuy JS Script Tag. This is a recommended best practice for optimizing load times and ensuring that Rebuy loads as quickly as possible.

Can I install the Rebuy Script Tag and disable jQuery at the same time?
Yes, you can do both. Installing the Rebuy JS Script Tag and disabling jQuery work together to improve site performance. The script tag ensures Rebuy loads earlier, and disabling jQuery reduces the overall load size of your site, further boosting speed.

Did this answer your question?