I’m using WP and WooCommerce with a theme from themeforest.
Over all there’s quite a bit of js files being loaded, I’m trying to reduce http requests and it looks like removing some JS files would be a good start.
I’m also hoping that the JS files that are in-use, on specific pages…. i might be able to determine which pages and simply make some if statement to load them in the header If…. its actually needed and not just on every page.
Could anyone help me figure out how to do this? I’v been told to combine js files but I dont understand that, like if i just copy the contents of one js file, paste in another… then remove the old one.. things will still work? seems like i might be missing something