Title: Remove Unused CSS &amp; Javascript (autoptimize script)
Last modified: October 12, 2020

---

# Remove Unused CSS & Javascript (autoptimize script)

 *  Resolved [Aashish Pahwa](https://wordpress.org/support/users/feedough/)
 * (@feedough)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/remove-unused-css-javascript-autoptimize-script/)
 * Hello
 * I use autoptimize with wp rocket. Here’s what’s bugging me.
 * I see remove unused CSS and JS and they are the scripts by autoptimize itself.
   Here’s the ss –
 * > [View post on imgur.com](https://imgur.com/a/MQUSawE)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-unused-css-javascript-autoptimize-script%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/remove-unused-css-javascript-autoptimize-script/#post-13521801)
 * The unused CSS/JS is being reported as being Autoptimize’s, but AO merely aggregates
   all the CSS/ JS provided by your theme & plugins, so if you (really) want to 
   tackle “remove unused CSS/JS” then you should look into your theme & plugins (
   you might be able to get some improvement using e.g. “plugin organizer” to only
   allow plugins to work on specific pages).
 * But; for unused CSS I know someone is close to releasing a plugin that hooks 
   into Autoptimize to do just that (but will be a premium service).
 * hope this clarifies,
    frank
 *  Thread Starter [Aashish Pahwa](https://wordpress.org/support/users/feedough/)
 * (@feedough)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/remove-unused-css-javascript-autoptimize-script/#post-13522234)
 * Dear Frank
 * I don’t mind paying for the service. Can you tell me the plugin that’s being 
   released?
    I’ll subscribe to them.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/remove-unused-css-javascript-autoptimize-script/#post-13522279)
 * well, it’s not released yet, but have a look at [https://github.com/shakee93/autoptimize-unusedcss](https://github.com/shakee93/autoptimize-unusedcss)
   🙂

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

The topic ‘Remove Unused CSS & Javascript (autoptimize script)’ is closed to new
replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/remove-unused-css-javascript-autoptimize-script/#post-13522279)
 * Status: resolved