Title: PageSpeed Autoptimize css query strings
Last modified: June 18, 2019

---

# PageSpeed Autoptimize css query strings

 *  Resolved [kikib](https://wordpress.org/support/users/kikib/)
 * (@kikib)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/pagespeed-autoptimize-css-query-strings/)
 * I made sure to click on “clear cache” in Autoptimize settings. However, I kept
   seeing several different autoptimize css files in “Remove Unused CSS” list, all
   with different query strings.
 * I followed a tutorial in removing query strings at [https://kinsta.com/knowledgebase/remove-query-strings-static-resources/](https://kinsta.com/knowledgebase/remove-query-strings-static-resources/)
   when I added this code. However, it’s not working.
 * How do I make sure that there’s only one autoptimize css that’s not useless…
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpagespeed-autoptimize-css-query-strings%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/pagespeed-autoptimize-css-query-strings/#post-11649857)
 * You’re slightly mixing up things here;
    * remove query strings -> AO does not
   add those to the autoptimized JS/ CSS, and upon checking your page source I don’t
   see those being added (except for one autoptimize_single-file, see below for 
   more info). * remove unused CSS -> that is something AO cannot do; it simply 
   combines the CSS found in the non-optimized version of the page. If you use complex
   themes and/ or plugins that add a lot of CSS, then AO will just combine that.
   If you want less CSS you’ll have to find (or create) a simpler (child-)theme 
   and/ or remove plugins (optionally conditionally with e.g. [plugin organizer](https://wordpress.org/plugins/plugin-organizer/))*
   having multiple autoptimize CSS-files; the default settings exclude CSS-files
   in `wp-content/cache` and `wp-content/uploads` to prevent cache size issues because
   of frequently changing CSS. These excluded files are minified by AO if not done
   so already (based on filename). This is the reason for the 3 “autoptimize_single_xzy.
   css”-files. If you want to avoid that feel free to change the exclusion list (
   but keep an eye on cache size).
 * Hope this clarifies,
    frank

Viewing 1 replies (of 1 total)

The topic ‘PageSpeed Autoptimize css query strings’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 12 months ago](https://wordpress.org/support/topic/pagespeed-autoptimize-css-query-strings/#post-11649857)
 * Status: resolved