Title: Server Response Time
Last modified: September 17, 2016

---

# Server Response Time

 *  [miketica](https://wordpress.org/support/users/miketica/)
 * (@miketica)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/server-response-time/)
 * Hi,
    When using autoptimize on couple of different websites with X theme the 
   server response time increases drastically. My hosting company (InMotion) says
   it happens because of a script and proved it to me by testing a simple file uploaded
   to the server. Whenever I turn off Autoptimize, the issue goes away and the site
   is faster without Autoptimize than with it. I’ve used Autoptimize in the past
   with an identical plugin structure(most of them come with X and are tested extensively)
   without any issue and I know it’s a great plugin, but this renders it unusable.
 * Thanks

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/server-response-time/#post-8193959)
 * Could you be running AO with “aggregate inline JS” (or inline CSS)? If that inline
   JS would change regularly, this will cause cache misses, requiring AO to build
   new autoptimized JS-files, indeed resulting in a slowdown. This would typically
   also lead to your cache-size growing fast.
 * If so, either disable “aggregate inline JS” or try to identify the culprit inline
   JS, excluding it from optimization.
 * let me know if this helps, if not I’ll be happy to hunt down the root cause with
   you 🙂
 * have a nice weekend,
    frank
 *  Thread Starter [miketica](https://wordpress.org/support/users/miketica/)
 * (@miketica)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/server-response-time/#post-8198736)
 * Hi Frank,
 * Awesome response time, thank you.
    I am not aggregating JS, disabling it is the
   first step I took to try to find the root of the issue. My email is [miket@implicitsuccess.com](https://wordpress.org/support/topic/server-response-time/miket@implicitsuccess.com?output_format=md),
   feel free to contact me at your earliest convenience.
 * Thank you!
    Mike
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/server-response-time/#post-8200749)
 * OK, next step; can you check the speed (slowness) with either JS or CSS optimization
   disabled?
 *  Thread Starter [miketica](https://wordpress.org/support/users/miketica/)
 * (@miketica)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/server-response-time/#post-8256527)
 * I apologize for the late reply. The website has a lot of plugins. I am using 
   CloudFlare & MaxCDN. Today, when I tried Autooptimize with the CSS and HTML options
   checked(JS unchecked) it broke my site and maxed out the resources on a InMotion
   server to the point where I had to manually delete the plugin from the server.
   I’ve had various results with other caching plugins (they didn’t break the site),
   but Autoptimize was one of my favorites, I even paid for Critical CSS. I am not
   against paying for a decent solution, but it is hard finding something that works
   with this website’s configuration.
    Like I said the site has a lot of plugins
   installed, so Autoptimize might conflict with them. Combining and minifying JS
   is what gives me most trouble. I guess I’ll look for a plugin that gives me decent
   results and use CloudFlare’s Rocket loader after I figure out what scripts to
   exclude(it gives me awesome performance, but breaks couple of things).
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/server-response-time/#post-8256555)
 * > Today, when I tried Autooptimize with the CSS and HTML options checked(JS unchecked)
   > it broke my site and maxed out the resources on a InMotion server
 * That’s likely PCRE (perl compatible regular expressions) crashing PHP, probably
   due to the the amount of CSS OR due to something … funky in the CSS. As per [the FAQ](https://wordpress.org/plugins/autoptimize/faq/);
 * > In some rare cases [the CSS minification component currently used by Autoptimize](https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/)
   > crashes due to a lack of resources (see [detailed technical explanation here](http://blog.futtta.be/2014/01/14/irregular-expressions-have-your-stack-for-lunch/)).
   > You can in that case either disable CSS optimization, try to exclude specific
   > CSS from being aggregated or activate the legacy minifiers which don’t have
   > that problem. The latter can be accomplished by adding this to your wp-config.
   > php:
   >  `define("AUTOPTIMIZE_LEGACY_MINIFIERS","true");`
   > The “legacy minifiers” will remain in Autoptimize “for ever” and changes to
   > wp-config.php are not affected by core-, theme- or plugin-upgrades so you should
   > be good to go.
 * So give those legacy minifiers a try?
 * > Combining and minifying JS is what gives me most trouble
 * Be sure to use the “safe defaults”; don’t force JS in head, don’t aggregate inline
   JS and exclude `js/jquery/jquery.js` and if that doesn’t work look for JS errors
   on your browser console and copy/paste them here.
 * we’ll get there, eventually 😉
 * frank
    -  This reply was modified 9 years, 7 months ago by [Frank Goossens](https://wordpress.org/support/users/futtta/).

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

The topic ‘Server Response Time’ 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

 * [conflicts](https://wordpress.org/support/topic-tag/conflicts/)
 * [load speed](https://wordpress.org/support/topic-tag/load-speed/)
 * [loading speed](https://wordpress.org/support/topic-tag/loading-speed/)
 * [response](https://wordpress.org/support/topic-tag/response/)
 * [server](https://wordpress.org/support/topic-tag/server/)

 * 5 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/server-response-time/#post-8256555)
 * Status: not resolved