Title: how to delay a specific javascript using flying scripts (com-min js))
Last modified: January 5, 2023

---

# how to delay a specific javascript using flying scripts (com-min js))

 *  Resolved [wordpresser](https://wordpress.org/support/users/mohammedays/)
 * (@mohammedays)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/how-to-delay-a-specific-javascript-using-flying-scripts-com-min-js/)
 * So, I am using combine and minify js, I noticed the js now are put on folders
   for example, folder 43r343.js -43s4442.js – 455939.js …etc
 * on my theme there are javascript that better to be delayed, I used to delay them
   before without w3tc and I am going to delay them now but I see js now are on 
   folders like: 43r343.js -43s4442.js – 455939.js …etc
 * are these folders contain more than one js on them? if so how to know which one
   has the js that I want to delay? I am trying to delay 2 js of the theme and jetpack
   related posts js.

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/how-to-delay-a-specific-javascript-using-flying-scripts-com-min-js/#post-16347981)
 * Hello [@mohammedays](https://wordpress.org/support/users/mohammedays/)
 * Thank you for reaching out and I am happy to assist you with this.
 * Just to clarify, these are minified files, not folders, and yes once the JS is
   minified, depending on the location of the file, the files are minified and combined
   into fewer files that are being stored in /wp-content/cache/minify/ folder.
 * What you can do is try and change the embed method for the minified files, using
   defer in the Performance>Minify>JS settings (try before body first and/or both)
 * Before </head>
   Non-blocking using “defer”After <body>Non-blocking using “defer”
 * The alternative is to exclude this file from being minified in Performance>Minify
   >Advanced>Never Minify following JS files, save all settings and purge the cache.
   After this, you can manage this file separately as it will not be minified.
   Thanks!
 *  Thread Starter [wordpresser](https://wordpress.org/support/users/mohammedays/)
 * (@mohammedays)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/how-to-delay-a-specific-javascript-using-flying-scripts-com-min-js/#post-16348236)
 * I just used defer before body images did not show then used defer after body 
   and they did now show also. So, I think the alternative is the way to go.
 * one more thing, I do not publish new posts very often and I do not update posts
   very often. So, is it better for performance to keep cache for a longer time?
   if so please let me know the setting to keep the cache stays longer, I do purge
   caches manually sometimes.
 * Thank you
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/how-to-delay-a-specific-javascript-using-flying-scripts-com-min-js/#post-16348737)
 * Hello [@mohammedays](https://wordpress.org/support/users/mohammedays/)
 * Thank you for your feedback. 
   By default, W3 Total Cache does not purge the cache
   until the content is changed as per the default settings in Performance>Page 
   Cache>Purge policy.SO it’s recommended to keep the cache longer if you are not
   publishing regularly and purge the cache only when you update/ post a new article.
   Thanks!
 *  Thread Starter [wordpresser](https://wordpress.org/support/users/mohammedays/)
 * (@mohammedays)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/how-to-delay-a-specific-javascript-using-flying-scripts-com-min-js/#post-16348845)
 * how about these settings?
 * performance – minify – advanced: Update external files every: and Garbage collection
   interval:
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/how-to-delay-a-specific-javascript-using-flying-scripts-com-min-js/#post-16354093)
 * Hello [@mohammedays](https://wordpress.org/support/users/mohammedays/)
 * Those should be left as they are on default. If you are not making any changes,
   the files will not be updated and the garbage collection interval will not fire
   if the Minify cache is not purged.
 * Thanks!
 *  Thread Starter [wordpresser](https://wordpress.org/support/users/mohammedays/)
 * (@mohammedays)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/how-to-delay-a-specific-javascript-using-flying-scripts-com-min-js/#post-16355223)
 * is it possible to delay minified files? or should I exclude them and delay them
   without minifying them? thank you

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

The topic ‘how to delay a specific javascript using flying scripts (com-min js))’
is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [wordpresser](https://wordpress.org/support/users/mohammedays/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/how-to-delay-a-specific-javascript-using-flying-scripts-com-min-js/#post-16355223)
 * Status: resolved