Title: Adjust the Enqueue order
Last modified: January 11, 2017

---

# Adjust the Enqueue order

 *  [shanedel990](https://wordpress.org/support/users/shanedel990/)
 * (@shanedel990)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/adjust-the-enqueue-order/)
 * Hi,
    I have just updated my theme ([Salient](https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266))
   and I am having issues with the Javascript options. When “Page transitions” are
   enabled the page never loads. Disabling them the pages do load but very slowly
   and frequently time out. It worked fine with an older version of them theme. 
   Theme support says to Adjust the Enqueue order.
 * Is this something that is possible with Autoptimize
    -  This topic was modified 9 years, 5 months ago by [shanedel990](https://wordpress.org/support/users/shanedel990/).
    -  This topic was modified 9 years, 5 months ago by [shanedel990](https://wordpress.org/support/users/shanedel990/).

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/adjust-the-enqueue-order/#post-8641835)
 * autoptimize comes long after the queue has been read, instead working on the 
   linked script and stylesheets in the output HTML [@shanedel990](https://wordpress.org/support/users/shanedel990/).
 * but what exactly is the issue you’re seeing since the theme update?
 *  Thread Starter [shanedel990](https://wordpress.org/support/users/shanedel990/)
 * (@shanedel990)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/adjust-the-enqueue-order/#post-8641909)
 * You must have replied just when I was editing my post.
 * >  When “Page transitions” are enabled the page never loads. Disabling them the
   > pages do load but very slowly and frequently time out.
 * The issue with the page transitions seems to be solved by removing the custom
   loading image.
 * But now compression seems to have been disabled ([google pagespeed](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fpositill.ie&tab=mobile))
   and page loading times are alot slower than they used to be. See [here](https://positill.ie/contact-us/)
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/adjust-the-enqueue-order/#post-8641910)
 * and when page transitions are enabled, do you see JS errors on your browser console?
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/adjust-the-enqueue-order/#post-8642030)
 * ok, regarding speed;
    * W3TC page cache seems not to work any more (no idea why
   really) * for AO, disable “aggregate inline JS” (and optionally “aggregate inline
   CSS”) to make sure cached optimized JS (CSS) can be reused
 *  Thread Starter [shanedel990](https://wordpress.org/support/users/shanedel990/)
 * (@shanedel990)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/adjust-the-enqueue-order/#post-8642215)
 * No errors I’m finding it hard to diagnose the exact issue.
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/adjust-the-enqueue-order/#post-8642239)
 * the issue *seems* to be the theme upgrade. you could downgrade and doublecheck
   if in that case W3TC does work. if so, this is a pretty big issue with the (latetst
   version of the) theme.
 * regarding AO; aggregating inline JS is off by default, and this will have a significant
   performance impact.
 * frank
 *  Thread Starter [shanedel990](https://wordpress.org/support/users/shanedel990/)
 * (@shanedel990)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/adjust-the-enqueue-order/#post-8642712)
 * W3TC seems to work when I disable AO
 * Is the a caching and minify plugin you can recommend that works well with AO?
 * They all worked happily together before I updated the theme. The only reason 
   I updated is because there are some display issues with the latest version of
   chrome which are fixed with the latest update.
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/adjust-the-enqueue-order/#post-8643670)
 * well, normally AO & W3TC work great together (provided minification is off in
   W3TC). good alternatives are comet cache (see “optimize more” tab in AO), wp 
   super cache, cache enabler, hyper cache, … lots of choices really 🙂

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

The topic ‘Adjust the Enqueue order’ 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

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

 * 8 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/adjust-the-enqueue-order/#post-8643670)
 * Status: not resolved