Feature Request – Load JS as external file
-
I would love to have the option to load the inline js as an external file so that we could use wordpress’s dependencies to control when it loads.
Currently I am using head.js to load scripts in parallel to optimize site speed. I however have to exclude the wp_full calendar scripts as they are required for the inline js and must therefore be loaded non-asynchronously.
If it can’t be moved to an external file then it would be nice for it to poll to see if a file is present before trying to run and if not continue polling until the file is loaded.
Thanks!
The topic ‘Feature Request – Load JS as external file’ is closed to new replies.