Try Now

How to prevent JS or CSS from getting minified

To prevent minification of JS or CSS you can add Exclude Rules. For that in WordPress Admin go To SpeedyCache > Exclude Tab.

Exclude CSS

  • In Exclude CSS Section click on Add New Rule button.
  • A modal will open, there add the CSS file name which you want to prevent getting minified.
  • Click on Save and that's it if any CSS file name contains that phrase you mentioned then it won't be minified.

Exclude JS

  • In Exclude JS Section click on Add New Rule button.
  • A modal will open, there add the JS file name which you want to prevent getting minified.
  • Click on Save and that's it if any JS file name contains that phrase you mentioned then it won't be minified.
    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list