Speeding up Ajax Calls
-
Hi there,
I want give my ajax calls a little more Speed.If i run my callbacks via addaction(“wp_ajax_someslowfunction”) and the ajaxurl i got a response time about 1.5 seconds on my small developing mashine.
So i decide to call a file in my plugin directly. Thats pretty fast but I need a least the wpdb Object. And to use it i have to include the wp_config.php. But these include the wp_settings and the whole big
system.Why is there no possibility to include just the config and the dbclass?
My only idea is to put the db settings in a session. But this is not so sweet and secure.
What u think about it?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Speeding up Ajax Calls’ is closed to new replies.