Title: javascript error slowing down page
Last modified: April 15, 2024

---

# javascript error slowing down page

 *  Resolved [johanneswild](https://wordpress.org/support/users/johanneswild/)
 * (@johanneswild)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-slowing-down-page/)
 * Hi!
 * I have a problem with one specific page that loads extremely slow. Can this be
   due to a wrong setting in autoptimize? I would be grateful for your support! 
   Thank you!
 * Best, Johannes
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-slowing-down-page%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)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-slowing-down-page/#post-17687966)
 * Hi Johannes;
    I had a quick look and no this seems unrelated to the JavaScript
   error (which would be better fixed anyway, but that’s not the question here).
 * The reason the page is slow (in my opinion) is due to 2 issues;
    1. there is 
   no page cache (this version Autoptimize does not do page caching), so consider
   installing a free page cache plugin. 2. the page is very “heavy” due to all CSS
   being inlined, the HTML alone is over 1MB big which for mobile is simply too 
   much. I would certainly disable “inline all CSS” and consider enabling “eliminate
   render-blocking CSS” in which case you’ll either have to add “above the fold 
   CSS” (which applies to all pages) or add “rules” on the “Critical CSS” tab.
 * hope this helps,
    frank
 *  Thread Starter [johanneswild](https://wordpress.org/support/users/johanneswild/)
 * (@johanneswild)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-slowing-down-page/#post-17688016)
 * Thank you, Frank for your prompt and helpful support! Much appreciated!
 * Would you recommend to buy the autoptimize pro version which features caching,
   then?
 * Best,
   Johannes
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-slowing-down-page/#post-17688126)
 * There are free page caching plugins too you could consider, e.g. “KeyCDN Cache
   Enabler”. I’m biased obviously, but AOPro would indeed also be an option, because
   that also includes automated Critical CSS rules so AOPro tackles both those issues.

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

The topic ‘javascript error slowing down page’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-slowing-down-page/#post-17688126)
 * Status: resolved