Title: Problem using AU with CSS options
Last modified: April 9, 2022

---

# Problem using AU with CSS options

 *  Resolved [audioprolabs](https://wordpress.org/support/users/audioprolabs/)
 * (@audioprolabs)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/problem-using-au-with-css-options/)
 * First of all I wanted to congratulate you for the amazing plugin I’ve been using
   for years.
    But I’m writing to you because I have a problem using AU with the
   CSS options my new web page. I’m using AU together with the WP Rocket plugin.
   With the AU plugin I am optimizing my CSS files and with it WP Rocket plugin 
   the Java Script files. The problem comes that activating AU is increasing too
   much the loading time of my page by treating the remove-header file of my page.
   Disabling the AU plugin the loading time is 74ms, activating AU the time increases
   by 1.37s. You can see these results in the Google console. This is causing problems
   with my page loading and GTMetrix result. How can I exclude the optimization 
   from this remove-header file in the AU CSS options. I would like to continue 
   using the AU plugin but this is causing a very big problem. Here you can see 
   my website [https://audioprolabs.com](https://audioprolabs.com) best regards
    -  This topic was modified 4 years, 2 months ago by [audioprolabs](https://wordpress.org/support/users/audioprolabs/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-using-au-with-css-options%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/problem-using-au-with-css-options/#post-15543598)
 * can you explain what you mean with the “remove-header file in the AU CSS options”
   audioprolabs ? can you share a screenshot indicating the option you’re referring
   to?
 *  Thread Starter [audioprolabs](https://wordpress.org/support/users/audioprolabs/)
 * (@audioprolabs)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/problem-using-au-with-css-options/#post-15543678)
 * Hello,
    the problem comes from a file on my website. I don’t know how to find
   this text/html or code. When the AU is not activated this html has a loading 
   time 74ms, activating AU the loading time increases by 1.37s. I just wanted to
   know if it is possible to exclude this html so that AU does not optimize it.
 * [https://audioprolabs.com/wp-content/uploads/2022/04/AU-deactiv.jpg](https://audioprolabs.com/wp-content/uploads/2022/04/AU-deactiv.jpg)
 * [https://audioprolabs.com/wp-content/uploads/2022/04/AU-active.jpg](https://audioprolabs.com/wp-content/uploads/2022/04/AU-active.jpg)
 * can you check my page please?
    -  This reply was modified 4 years, 2 months ago by [audioprolabs](https://wordpress.org/support/users/audioprolabs/).
    -  This reply was modified 4 years, 2 months ago by [audioprolabs](https://wordpress.org/support/users/audioprolabs/).
    -  This reply was modified 4 years, 2 months ago by [audioprolabs](https://wordpress.org/support/users/audioprolabs/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/problem-using-au-with-css-options/#post-15544124)
 * I also see the request with AO disabled (by adding ?ao_noptimize=1 to the URL),
   see screenshot.
 * ![](https://i0.wp.com/i.imgur.com/PJruTLj.png?ssl=1)
 * When inspecting your HTML source, I indeed do so this in the `open-mart-style-
   inline-css` inline CSS:
 * `.top-header{background-image:url(remove-header);`
 * which indeed will result in a request for a non-existing file.
 *  Thread Starter [audioprolabs](https://wordpress.org/support/users/audioprolabs/)
 * (@audioprolabs)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/problem-using-au-with-css-options/#post-15544142)
 * thank you for your reply! I know that this problem does not come from AU, apparently
   it is a problem of the same code of the template that I am using. I’m right? 
   It is best to contact the technical team that has created this template, right?
   I am using a plugin to redirect links that do not exist, disabling this plugin
   gives me error 404 (Not Found).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/problem-using-au-with-css-options/#post-15544154)
 * yeah, you’ll have to contact the “open mart” team I guess. in the meantime you
   could make an empty file and call it `remove-header` and place it in your wordpress
   root directory maybe, that will have significantly lower “cost”?
 *  Thread Starter [audioprolabs](https://wordpress.org/support/users/audioprolabs/)
 * (@audioprolabs)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/problem-using-au-with-css-options/#post-15544525)
 * Thank you very much for your help! I’m going to contact the “open mart” team.
   But creating an empty file with the name remove-header seems that solve much 
   of the problem and now the load is much faster. Thank you for your advice 🙂
   
   Best regards
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/problem-using-au-with-css-options/#post-15544529)
 * you’re welcome, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂
 *  Thread Starter [audioprolabs](https://wordpress.org/support/users/audioprolabs/)
 * (@audioprolabs)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/problem-using-au-with-css-options/#post-15544789)
 * I’m sure I’m going to leave a comment, once again thank you for your help 🙂
   
   Thanks to your help and tips I have now a result in google speed test of 99 and
   GTMetrix 85. I am already using your new version of AU 3 without any problem.
   🙂
    -  This reply was modified 4 years, 1 month ago by [audioprolabs](https://wordpress.org/support/users/audioprolabs/).

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

The topic ‘Problem using AU with CSS options’ 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [audioprolabs](https://wordpress.org/support/users/audioprolabs/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/problem-using-au-with-css-options/#post-15544789)
 * Status: resolved