I would go with jQuery UI tabs where the feeds would be hidden because WordPress caches feeds for 12 hours using the Transients API.
This would be less expensive than doing an Ajax call for each tab.
Use fetch_feed
to parse and and cache.
The cache times can be filtered using wp_feed_cache_transient_lifetime
.
Related Posts:
- Ajax takes 10x as long as it should/could
- store/cache ajax sent data to avoid repeated request
- Minimal WordPress load for only `get_option` to work (because ajax…)
- How to make ajax content indexable by search engines?
- Async Loading of Custom Posts
- admin-ajax.php slows down, but cant figure out which plugin
- Load WP content with ajax less server demanding and faster than normal page loading?
- Performance optimization of tree like structure
- AJAX – SHORTINIT set to TRUE returns blank
- Disabling ajax code that does a POST request that ends in a 400 error code
- Content including hooks inside wp-settings.php are being called twice in WordPress
- Ajax takes 10x as long as it should/could
- Ajax take too long to return code
- Speeding up admin-ajax.php
- Using Ajax with a Class file
- SSL breaks customizer: page isn’t returned from ajax
- Stop admin-ajax?
- How to verify nonce from Bulk/Quick Edit in save_post?
- How to implement AJAX post navigation into WordPress?
- wp_ajax_[service] returning 0
- Trying to load content of a post via AJAX
- Insert Post using Ajax
- How can I automatically login using a URL?
- Run again current query via ajax but changing a var
- Ajax function returns -1
- Problems with creating sortable sections in customizer
- Is it OK to use a system cron to trigger a function hooked into the AJAX API
- Filter WP user acf field by ajax
- Ajax Request not coming back to class
- Ajax requests with different WordPress Address and Site Address setup
- Conditional action hooks
- AJAX requests broken due to HTTPS for wp-admin
- query vars in url work but not in ajax call
- is_home doesn’t affect content
- Is it safe to use $_POST directly in my plugin instead of using admin-ajax.php to receive data from ajax?
- How to declare a JS variable in an AJAX call
- is_page() conditional not working inside an AJAX function
- jQuery Ajax passing empty parameters to my function?
- Fatal error: Call to undefined function get_post() with ajax
- Convert this relative path to absolute
- how to send Ajax request in wordpress backend
- admin-ajax.php slow website, how to fix
- WP Admin AJAX Security – using POST to include a relative URL
- ajax nonce verification failing
- Plugin: AJAX query external API to sync to tables
- admin-ajax.php ” Missing argument 2″ warning
- Update get_pages using ajax on form select change
- splitting the URL using jQuery
- How do I get reusable blocks via frontend REST API?
- Is there builtin way to use protected AJAX endpoint?
- How to create an ajax endpoint without js?
- How to load content from many posts on a page, only if needed
- Making an ajax request from a different domain
- WordPress Settings api data not sanitized if i use ajax
- Images loading over http instead of https
- Pagination Using ajax
- wp_ajax_ works fine but wp_ajax_nopriv_ returns HTML and not calling function
- Why is wp_localize_script returning false?
- Ajax call with javascript in post content (not enqueued)
- Change header.php after ajax call
- What’s the latest I can hook into wp_ajax_%?
- Nonce doesn’t validate in nopriv call
- WordPress – admin-ajax.php returns 502 Bad Gateway [closed]
- Using admin-ajax prevents regular php form submission
- How to use ajax to get multiple outputs?
- Admin-ajax.php 400 error in custom theme
- Why does check_ajax_referer give a 403 error on https websites?
- WordPress is creating nonce as a logged in user but verifying it incorrectly
- Hide Load more Ajax button if there is no more users to load or less than the number?
- ajax refresh to display new posts
- wp_ajax action is not run when ajax trigger
- Contact form – ajax, wp_mail
- Replace link with form to pass variables to javascript / ajax
- Problems implementing Load More functionality
- WordPress Select Option Load Custom Fields
- Add ajax to plugin in admin area
- Search live Ajax
- Ajax login fails: script sets cookies, but is_user_logged_in() returns false
- Using wp_send_json_success instead of $result[‘message’], die, etc
- do_action won’t work in ajax callback
- 400 Bad request while submitting form using AJAX
- AJAX POST Value not being returned – WordPress – AutoTrader API
- Its possible to ajax update the content of the admin custom post type list
- WordPress custom ajax login not working on mobile browsers
- Ajax call on class returns old data
- how to enable ajax on submitting of contact form 7?
- delete post meta data in array WordPress
- Display post thumbnail after clicking on post id with AJAX
- Using AJAX on Contact-form the WordPress way
- Error while submitting form using AJAX and php
- AJAX call in backend results in empty update_option
- How to fetch meta_value and meta_key in matrix after ajax request by post_id
- Using static home page and wordpress only as a blog
- Is it a good idea to init ajax functions only while ‘DOING_AJAX’
- register_setting and AJAX?
- ajax response is 0 instead of ‘script’ [duplicate]
- A refreshless WordPress website
- Dynamic dependent select box getting null value
- get_template_part() does not render after the ajax request
- wordpress ajax bad request 400