Remove inline JS to enable caching.
-
Hi Jeff,
First of all, nice plugin! Appreciate all the work you put into it.
I just read you’re house was flooded, sorry to hear that. I noticed the huge piece of inline JavaScript the plugin outputs after the widget when you have rotating enabled.
I was wondering if you were willing to look into optimizing this piece of JS. Eg: move it into a separate file to enable caching, minifying and combining. Reducing the lines of code. Or, keep it like this but output it after the other footer scripts have been loaded (using the
wp_footeraction hook).Main reason is I want to combine all my JS files into 1 script and load this before the closing body tag. If I find myself having some spare time over the weekend I might look into it myself.
Thanks a bunch!
Danny
The topic ‘Remove inline JS to enable caching.’ is closed to new replies.