jQuery Optimization in my plugin (1 post)

  1. rsanchez112
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.