Tagged Questions
0
votes
0answers
42 views
Ajax call to minimal custom class with WP admin check
I'm creating a plugin that will submit requests via AJAX. As there will potentially be a lot of people submitting requests at once I call the file directly rather than through the WP ajax (reference).
...
1
vote
1answer
87 views
What's the best way to implement AJAX in WordPress?
WordPress has a framework in place for handling AJAX which is well documented here: http://codex.wordpress.org/AJAX_in_Plugins
My concern with this is that every time you execute an AJAX query, (even ...
1
vote
1answer
256 views
Load WP content with ajax less server demanding and faster than normal page loading?
This is a technical doubt I had after reading some articles about WP ajax process (cannot find them though).
Is it faster and cheaper to load WP content (any content, page, post, widgets etc...) ...
2
votes
1answer
131 views
store/cache ajax sent data to avoid repeated request
I developed a widget that offer a full blown archive search tool, where the user can select various options that are joined into an objects to be passed to WP_Query in an ajax action that returns the ...
25
votes
1answer
1k views
Ajax takes 10x as long as it should/could
I have just hit my first serious issue with WordPress and for someone that enjoys Ajax this is a biggy.
I have an Ajax request that is taking 1.5 seconds to complete while using the Ajax API.
If I ...