Title: Defer not working
Last modified: June 27, 2021

---

# Defer not working

 *  [diffon](https://wordpress.org/support/users/diffon/)
 * (@diffon)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/defer-not-working/)
 * Hi!
    I tried “defer” with your plugin because autoptimize wasnt fully complete.
   However, after adding a lot of request to defer, it didn’t defer in reality. 
   Please help, so I can test and optimize.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdefer-not-working%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)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/defer-not-working/#post-14599628)
 * So what did you configure to be deferred in AsyncJS diffon ?
 *  Thread Starter [diffon](https://wordpress.org/support/users/diffon/)
 * (@diffon)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/defer-not-working/#post-14600493)
 * Mainly gtag, facebook connect, instagram plugin, widgetapi.vflset/, etc. however
   in gtmetrix is loading all this things first and in page speed I have a warning
   of unused js.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/defer-not-working/#post-14600567)
 * Afraid you’re misunderstanding defer; defer does not help with “unused JS” (with
   or without the defer flag the JS loaded remains the same, no JS is removed when
   using defer) and deferred JS does not load later, it only executes later, see
   [https://bitsofco.de/async-vs-defer/](https://bitsofco.de/async-vs-defer/) for
   more info diffon ..
 * hope this clarifies,
    frank

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

The topic ‘Defer not working’ is closed to new replies.

 * ![](https://ps.w.org/async-javascript/assets/icon-128x128.png?rev=1839260)
 * [Async JavaScript](https://wordpress.org/plugins/async-javascript/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/async-javascript/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/async-javascript/)
 * [Active Topics](https://wordpress.org/support/plugin/async-javascript/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/async-javascript/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/async-javascript/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/defer-not-working/#post-14600567)
 * Status: not resolved