Title: Autoptimize Avoid bad requests Error
Last modified: November 21, 2019

---

# Autoptimize Avoid bad requests Error

 *  [fullfunforu](https://wordpress.org/support/users/fullfunforu/)
 * (@fullfunforu)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/)
 * Hello,
    I have installed Autoptimize once and As I have installed Wp-Rocket, 
   I have uninstalled autoptimize. From there my site GTmetrix has gone Down. I 
   tried to remove it from Cpanel also. No use. Please see the report and Error 
   Pic below. [https://gtmetrix.com/reports/www.newspopcorn.com/sP5hB5BB](https://gtmetrix.com/reports/www.newspopcorn.com/sP5hB5BB)
   [https://ibb.co/Gtp3M50](https://ibb.co/Gtp3M50) [https://ibb.co/0D2SkRk](https://ibb.co/0D2SkRk)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fautoptimize-avoid-bad-requests-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/page/2/?output_format=md)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12158167)
 * If Autoptimize was removed but you still see references to autoptimize in the
   HTML source, you’re seeing on older cached page. Purge all page caches you might
   have and all should be OK.
 * hope this helps,
    frank
 *  Thread Starter [fullfunforu](https://wordpress.org/support/users/fullfunforu/)
 * (@fullfunforu)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12167068)
 * Purged nearly 4.87 GB and 46K files. But No use. still, the problem exists. BTW,
   I have used WP-Optimize 3.0.13 for the purge.
    Image below… [https://ibb.co/9WPJr0L](https://ibb.co/9WPJr0L)
 * And Getting a flash of unstyled content (FOUC) Problem, as soon as I started 
   optimization of the site.
 * Image below…
    [https://ibb.co/wMSS3tH](https://ibb.co/wMSS3tH)
    -  This reply was modified 6 years, 6 months ago by [fullfunforu](https://wordpress.org/support/users/fullfunforu/).
    -  This reply was modified 6 years, 6 months ago by [fullfunforu](https://wordpress.org/support/users/fullfunforu/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12167153)
 * well, something must have worked, but I see no references in your HTML to Autoptimize
   any more 🙂
 * ![](https://i0.wp.com/i.imgur.com/YPcb6XH.jpg?ssl=1)
 * So if you’re still getting bad requests, they’re very likely to be due to something
   else?
 *  Thread Starter [fullfunforu](https://wordpress.org/support/users/fullfunforu/)
 * (@fullfunforu)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12167224)
 * And Getting a flash of unstyled content (FOUC) Problem, as soon as I started 
   optimization of the site.
 * Image below…
    [https://ibb.co/wMSS3tH](https://ibb.co/wMSS3tH)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12167246)
 * The good news; don’t see that on my end. Given you’re not using AO any more, 
   you might have to look into your Phastpress (which you seem to be using now) 
   configuration instead?
 *  Thread Starter [fullfunforu](https://wordpress.org/support/users/fullfunforu/)
 * (@fullfunforu)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12168762)
 * `"`well, something must have worked, but I see no references in your HTML to 
   Autoptimize any more 🙂
    So if you’re still getting bad requests, they’re very
   likely to be due to something else?`"` Exactly what it means. Sorry, I not able
   to follow.
 * BTW .. Phastpress is just installed in the trial & error method as the errors
   are not getting solved. But Now also the errors exist.
 * Why FOUC is not seen at your end. GTmetrix is also showing the same?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12168902)
 * my point; you’re not using Autoptimize any more, right?
 *  Thread Starter [fullfunforu](https://wordpress.org/support/users/fullfunforu/)
 * (@fullfunforu)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12169212)
 * Yes…U are right. But the issues are related to AO only and started only after
   using AO. If it solves the issues and brings back my Best Values in GTmetrix,
   I am ready to use it. After all, I am trying to get the best page speed values
   only…
    🙂
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12169247)
 * If I understand correctly you removed Autoptimize because you switched to WP 
   Rocket but due to a page cache still containing references to the removed Autoptimized
   cache you had those bad requests. You then seem to have removed WP Rocket and
   switched to Phastpress (which I’m not really familiar with).
 * Now based on all of the above, it seems your GTmetrix score is not as good as
   it was before? If indeed your “Best Values in GTmetrix” date from when you were
   still using Autopitmize, then I guess you should switch back to that (combined
   with a page cache, which I assume you were also using)? And if you are back on
   Autoptimize, I will be happy to give you some tips on how to configure for optimal
   performance 🙂
 *  Thread Starter [fullfunforu](https://wordpress.org/support/users/fullfunforu/)
 * (@fullfunforu)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12169771)
 * What fun here… I have deactivated all cache plugins and activated AO. As soon
   as the AO is Activated, My site showing the Plain page without any post.
 * (U can see Autoptimize in the Admin Bar on top of the page in image)
    plz, see
   image… [https://ibb.co/w678rL7](https://ibb.co/w678rL7)
 * Now i removed all Cache plugins including AO and the website home page content
   is visible.
    As, I have deactivated AO also, plz, send me settings configure 
   for optimal performance for my site. ( I hope you have gone through my site)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12169860)
 * That’s weird, as based on your previous posts you did you AO running correctly,
   right?
 * But I’m afraid “send me settings configure for optimal performance for my site”
   does not work fullfunforu, I do not *know* your site and I cannot just guess 
   what went wrong based on a screenshot.
 * What we can do instead;
    * if you have a non-production site which you can leave
   broken for a while, I can have a look there? * if not you’ll have to do some 
   troubleshooting yourself, by first and foremost trying to identify what is breaking
   your site by just disabling CSS or JS or Image optimization (incl. lazyload).
   Once you know that, dive in and try identify what code/ files (CSS or JS) are
   responsible for the broken feature and try excluding that. If the problem is 
   with JS, chances are you’ll find useful information on your browser’s developer
   console. There’s more info in the troubleshooting tips and info on exclusions
   in [the AO FAQ](https://wordpress.org/plugins/autoptimize/#faq).
 * hope this helps,
    frank
 *  Thread Starter [fullfunforu](https://wordpress.org/support/users/fullfunforu/)
 * (@fullfunforu)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12170658)
 * REally speed response… Thx.
 * `* if you have a non-production site which you can leave broken for a while, 
   I can have a look there?`
    BTW you can look into the site… How do I send you 
   the login
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12170864)
 * I’m afraid I don’t log in to other people’s site in the context of free support
   here fullfunforu, but if you give me the URL I’ll probably be able to see what
   is going wrong 🙂
 *  Thread Starter [fullfunforu](https://wordpress.org/support/users/fullfunforu/)
 * (@fullfunforu)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12171131)
 * Here it is:
 * [https://www.newspopcorn.com](https://www.newspopcorn.com)
 * Without any cache plugins installed now.
 * Latest GTmetrix report: [https://gtmetrix.com/reports/www.newspopcorn.com/XmhJ7Rf8](https://gtmetrix.com/reports/www.newspopcorn.com/XmhJ7Rf8)
    -  This reply was modified 6 years, 6 months ago by [fullfunforu](https://wordpress.org/support/users/fullfunforu/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/#post-12171224)
 * That I already had and I cannot see what is going on when A is active, which 
   is why the idea would be to enable Autoptimize on a non-production site so I 
   can investigate what is going on? 🙂

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/page/2/?output_format=md)

The topic ‘Autoptimize Avoid bad requests Error’ 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

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

 * 24 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-avoid-bad-requests-error/page/2/#post-12175505)
 * Status: not resolved