Title: Unloading Hardcoded Scripts doesn&#8217;t work
Last modified: May 17, 2021

---

# Unloading Hardcoded Scripts doesn’t work

 *  [Hamed Azimi](https://wordpress.org/support/users/dadparvar/)
 * (@dadparvar)
 * [5 years ago](https://wordpress.org/support/topic/unloading-hardcoded-scripts-doesnt-work/)
 * Hello,
 * We use Slider Revolution on our website.
 * When I’m unloading assets, I see a few CSS and js files added by the Slider Revolution(
   In plugins section of assets’ list)
 * It works fine if I unload any of those assets.
    [https://ibb.co/kHtLwp5](https://ibb.co/kHtLwp5)
 * But, below the page, where HARDCODED SCRIPTS are, there are 2 more scripts related
   to Slider Revolution:
    [https://ibb.co/vh0yz3H](https://ibb.co/vh0yz3H)
 * These 2 are unnecessary and are causing a lot of issues with the site’s performance.
   And the problem is, even if I unload these 2 scripts and update the page, they
   still are loaded (no matter if I simply unload them, or if I check the checkbox
   to unload it on all pages. It just doesn’t unload them after I save it)
 * Any idea on how to fix this and unload them? It is affecting page’s performance
   dramatically as they get loaded once for each slide, and as we have multiple 
   slides, PageSpeed Insights reports that these 2 files are loaded over 20 times
   on the page where none of them are needed as the file is loaded once before. (
   as you see, the ones that have issues, are the ones that have Query Strings at
   the end. the thing is, we completely disabled Query Strings in our site but still,
   these 2 files are being loaded)
 * Thanks

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

 *  Thread Starter [Hamed Azimi](https://wordpress.org/support/users/dadparvar/)
 * (@dadparvar)
 * [5 years ago](https://wordpress.org/support/topic/unloading-hardcoded-scripts-doesnt-work/#post-14452590)
 * Seems like this is related to php8 incompatibility which we are discussing here:
   [https://wordpress.org/support/topic/php-8-is-not-supported/#post-14452586](https://wordpress.org/support/topic/php-8-is-not-supported/#post-14452586)
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [5 years ago](https://wordpress.org/support/topic/unloading-hardcoded-scripts-doesnt-work/#post-14452624)
 * [@dadparvar](https://wordpress.org/support/users/dadparvar/) I suspect you’re
   using the Pro version. There was an update recently that allowed the managing
   of the assets within the “CSS & JS Manager” -> “Manage CSS/JS” area, without 
   the need to go to edit post/page area. Can you please try it out? I resent you
   the purchase receipt which has the link to the latest version that was just updated.
   Please remove the version you have and install the one you can download from 
   the email that was just sent to you. Let me know how it goes!
 *  Thread Starter [Hamed Azimi](https://wordpress.org/support/users/dadparvar/)
 * (@dadparvar)
 * [5 years ago](https://wordpress.org/support/topic/unloading-hardcoded-scripts-doesnt-work/#post-14452808)
 * [@gabelivan](https://wordpress.org/support/users/gabelivan/) I received the email.
   Thanks (my own license is for my own website. but I’m having this issue on a 
   client’s store which is a huge +2.5k products store. I’m glad to get quick support
   here. Thanks)
 * Do you want me to try it with php8? (cause all is good with php7.4)
 * I assumed the answer is yes. so, I switched to php8 again, and the result is:
   I logged in to the client’s account, and download the latest version just now.
   Installed it.
 * (before we continue, let me also mention that the website is multisite. That 
   may be useful)
 * From here: [https://ibb.co/GWXRTPK](https://ibb.co/GWXRTPK)
 * I started unloading an asset, but every time I try to update, it says: The link
   you followed has expired.
    [https://ibb.co/qy2ZvZt](https://ibb.co/qy2ZvZt)
 * Even if I try it within a second after the assets are loaded.
 * I switched to PHP 7.4 and I could save and update it.
    -  This reply was modified 5 years ago by [Hamed Azimi](https://wordpress.org/support/users/dadparvar/).
 *  Thread Starter [Hamed Azimi](https://wordpress.org/support/users/dadparvar/)
 * (@dadparvar)
 * [5 years ago](https://wordpress.org/support/topic/unloading-hardcoded-scripts-doesnt-work/#post-14452836)
 * If server info helps, here are the details:
    [https://ibb.co/VNTzT7x](https://ibb.co/VNTzT7x)

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

The topic ‘Unloading Hardcoded Scripts doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Hamed Azimi](https://wordpress.org/support/users/dadparvar/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/unloading-hardcoded-scripts-doesnt-work/#post-14452836)
 * Status: not resolved