Support » Plugins » jQuery Optimization in my plugin

  • Hello, in my plugin I have been using regular document.getElementById and other javascript functions, but I’ve been recently changing to jQuery functions. I noticed that using jQuery took much longer than the native javascript functions and the profiler revealed that several calls were made to wp-admin/load-scripts.php.

    Since I’m using jQuery here, it seems to call load-scripts.php every time there is a jQuery call, and in one block there are as many as 17566 calls. What I want to know is if there is a way for me to use jQuery without having all those extraneous calls which really don’t do much for me.

  • The topic ‘jQuery Optimization in my plugin’ is closed to new replies.