Title: Legacy JavaScript
Last modified: August 19, 2025

---

# Legacy JavaScript

 *  Resolved [alexandraqb](https://wordpress.org/support/users/alexandraqb/)
 * (@alexandraqb)
 * [9 months ago](https://wordpress.org/support/topic/legacy-javascript/)
 * Hi 
   I have been trying to speed up my website. This plugin has made a positive
   impact on my website so it now feels like things are working correctly – although
   some things are still slow =(, I have also fixed the shopping basket which was
   broken unless ‘enable merging of javascript’ was selected in settings.
 * 
   However, when I use the Google Website Speed Test, it shows a number of Render
   blocking requests linking to files such as ‘wpo-minify-header’.
 * Legacy JavaScript from files such as ‘wpo-minify-footer’. Plus notes that say
   Reduce unused CSS and Reduce unused JavaScript also relating to the same files.
   
   My question is how do I fix this, as it’s making a sizeable difference to the
   speed and performance.I’m sorry if I have missed anything obvious, any guidance
   would be most appreciated. Thank you for your time.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flegacy-javascript%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Damilare](https://wordpress.org/support/users/deabiodun/)
 * (@deabiodun)
 * [9 months ago](https://wordpress.org/support/topic/legacy-javascript/#post-18606713)
 * Hi!
   Thanks for highlighting the positive experience you’ve had while using WPO.
   I’ll suggest enabling the Delay JS feature at _**WPO > Minify > JavaScript**_.
   Also, check how the _**Defer JS**_ feature impacts the mobile experience.
 * As regards the Legacy JavaScript report, please note that this is not from WPO.
   Everything in wpo-minify-footer is the result of minified/merged JS resources
   from your themes/plugins. So fixing legacy JS codes is up to any plugin containing
   such.
 * Let us know if the above helps.
 * Regards.
 *  Thread Starter [alexandraqb](https://wordpress.org/support/users/alexandraqb/)
 * (@alexandraqb)
 * [9 months ago](https://wordpress.org/support/topic/legacy-javascript/#post-18606782)
 * Hi, 
   Thank you so much for the information. In regards to Legacy JavaScript, 
   Ive been able to test by deactivating plugins one by one. It seems Legacy JavaScript
   is coming from WooCommerce PayPal Payments?!Shocked, not sure how to proceed 
   with that. I will try your suggestion of ‘enabling the Delay JS feature’.Thank
   you for the information.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Legacy JavaScript’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 2 replies
 * 2 participants
 * Last reply from: [alexandraqb](https://wordpress.org/support/users/alexandraqb/)
 * Last activity: [9 months ago](https://wordpress.org/support/topic/legacy-javascript/#post-18606782)
 * Status: resolved