[wp-hackers] JavaScript,wp_enqueue_script and concatenation

Simon Wheatley simon at sweetinteraction.com
Mon Aug 3 15:00:28 UTC 2009


On Mon, Aug 3, 2009 at 2:11 PM, Otto<otto at ottodestruct.com> wrote:
> 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.
>

Does this happen outside the admin area? I haven't noticed it myself,
but maybe my scripts calls aren't configured correctly.

S


---
Sweet Interaction Ltd is Registered in England/Wales, no. 6610741
Registered office: 7 Malton Av, Manchester, M21 8AT


More information about the wp-hackers mailing list