[wp-hackers] JavaScript,wp_enqueue_script and concatenation

Otto otto at ottodestruct.com
Mon Aug 3 13:11:27 UTC 2009


On Sat, Aug 1, 2009 at 10:46 AM, Eric Martin<eric at ericmmartin.com> wrote:
> I use jQuery on my site and a handful of jquery plugins. I've been
> doing quite a bit of thinking about ways to concatenate the scripts
> together in order to reduce the number of requests made, while
> maintaining the usefulness and features provided by wp_enqueue_script.

I'm pretty sure that 2.8 already has this built in. All scripts get
concatenated into a single call to load-scripts.php, if everything
supports it properly.

-Otto


More information about the wp-hackers mailing list