Title: Inline small JavaScript
Last modified: June 9, 2019

---

# Inline small JavaScript

 *  [SLV](https://wordpress.org/support/users/dwnl/)
 * (@dwnl)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/inline-small-javascript/)
 * Hello,
 * At gtmetrix.com I get the recommendation:
 * **Inline small JavaScript**
 * The following external resources have small response bodies. Inlining the response
   in HTML can reduce blocking of page rendering.
 * [https://…/](https://…/) should inline the following small resources:
 * /wp-content/plugins/c4d-plugin-manager/assets/default.js
    /wp-content/uploads/
   hummingbird-assets/1c9c8976470f8df471cb6d05d955d10f.js /wp-content/uploads/hummingbird-
   assets/712a251a7c7a48e11ba58fa61bdd29fd.js
 * Can anyone tell me what to do en how?
 * I hope so!
 * Greetings

Viewing 1 replies (of 1 total)

 *  [Phil](https://wordpress.org/support/users/owendevelopment/)
 * (@owendevelopment)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/inline-small-javascript/#post-11620864)
 * What GTMetrix means is to take the javascript code out of those files and adding
   it into the body of the page (inline), rather than running at the end of the 
   page. This allows the functionality needed at the top of the page to run without
   having to load the rest of the page first, before loading the javascript code
   at the very end where most javascript is loaded.
 * However, these 2 plugins would need the code from the files specified to be taken
   from the files and added inline, so it may or may not be worth it or easy for
   a beginner to do. If you do that though, you may need to repeat the process every
   time you update each of the plugins too – unless the plugins have hooks that 
   allow you to deregsiter their loading of those files in place of your own inline
   additions.

Viewing 1 replies (of 1 total)

The topic ‘Inline small JavaScript’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Phil](https://wordpress.org/support/users/owendevelopment/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/inline-small-javascript/#post-11620864)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
