Concatenate and minify Javascript files in header and footer independently
-
Hello,
I was wondering if Autoptimize somehow allows optimising (minifying and concatenating) Javascript files in the head independently from the Javascript files in the footer, as the
wp_enqueue_script
last argument$in_footer
suggests?It seems that right now the optimised files will either be output all in the footer or all in the head. However, the
$in_footer
argument ofwp_enqueue_script
allows developers to declare whether they need a Javascript file in the head or in the footer.So, I guess it would be nice if Autoptimize could follow this pattern and produce two different and independent Javascript optimised (minified and concatenated) files, one for the head and one for the footer, as the
$in_footer
argument ofwp_enqueue_script
suggests.Thanks in advance!
Cheers,
Takis
- The topic ‘Concatenate and minify Javascript files in header and footer independently’ is closed to new replies.