How often do the results change? I think the results are finally and did not change often (or never). Maybe it is better to use a file caching then using output buffering.
Write the results to a file and append a hash or date to the filename as indicator. If the results are updated or changed, delete the file and recreate it in prepare_items()
Related Posts:
- How to customise the output of the WP image gallery shortcode from a plugin?
- How to load wp_editor via AJAX
- How to check if user is in back end?
- Is there a standard for naming plugin versions
- Removing an action from an external plugin class
- Why does WordPress require a ftp server to be running on the webserver to transfer plugins?
- How can I have two different urls for the same page that load two different templates?
- How does WordPress Multisite know that a Plugin is installed?
- Is it a bad practice to go directly to the mysql database while developing a plugin?
- Need a WordPress Plugin for Google Analytics, Favicon, Meta Keywords & Description?
- How does WordPress update plugins, without running into permissions issues?
- How to hide fields from my user profiles
- How to list the Hooks and order of execution in current loading page? [duplicate]
- Register Custom Post Type from Plugin
- How to make my plugin theme-independent?
- Plugin to set all Posts in a certain Category to a certain Post Format
- Updating post meta for custom post types
- How can I enqueue a style only when a particular widget is active?
- How should I handle errors within a plugin?
- Add custom buttons with custom actions in Edit Post screen in WordPress?
- How to handle the Plugin Version on Update using Tortoise SVN and the worpdress.org Plugin Repository?
- 403 Forbidden – You don’t have permission to access /wp-admin/admin-ajax.php on this server
- How to find installed plugins
- Setting up a multilingual wordpress site
- Automatically adding post and pages to new blog setups
- 500 Internal Server Error when updating htaccess
- Is it possible to group plugins into a folder?
- Storing Options in a Shortcode
- How does WP handle multiple matching rewrite rules?
- Add Product Subtitle to Woocommerce Product Page
- How to delete Passwrd Protected posts cookies when a user logged out from the site
- How do I create a custom add media button modal?
- Not getting author rank when using return
- What are wsm tables for?
- How to block plugin activations with no known user or coming from unknown IP address range?
- How to fix the woocommerce – adaranth.com redirection issue [closed]
- How do I make a child theme I made POST through a 3rd party plugin?
- Adding regex filter to feedwordpress
- Use Cornerstone Plugin outside of WordPress Dashboard
- Change get_current_user_id code to the author’s profile
- get_option error plugin development
- How to get the permanent link in a plugin?
- do add_action on condition
- Duplicate results are displayed in a custom plugin [closed]
- Need a wordpress plugin to show tutorial difficulty [closed]
- Plugin is a widget, but I want to call it in the head, can I?
- Meta Box by Rilwis, Load metabox on all page templates EXCEPT the homepage
- Adding rel=”nofollow” to external links in posts?
- Plugin that provides the [edit] shortcode?
- How do I get the Twitter Tools widget to display my tweets?
- Is there a way to convert shortcodes to html content?
- Loop in elementor custom widget not working
- Change text string in a plugin
- How to include files relative to a file’s directory
- track all external links on blog via username
- How to access OOP plugin function inside themes or other plugin
- What makes it possible for a plugin to not able to delete?
- How can i list random author?
- Notify bar plugin not showing up
- Our plugin tags not appearing in WordPress Plugin Repository
- How to get values from network settings panel?
- Creating New Dynamic Fields for a Certificate (Number Generation, Code Referencing, and more)
- Getting current user data with MySQL statement
- how to validate input field in wordpress generated with wpform plugin
- Remove custom taxonomy name from the slug – Custom Post Type UI
- Conditional delete metadata does not works
- Ability to change homepage on WordPress using API
- The function called on the wp head hook becomes null
- WordPress plugin download-after-email issue
- How to add defer to WordPress Plugin javascript? [duplicate]
- Powerpress upload a podcast without creating a post for it
- Custom shortcode being shown in WPBakery backend rather than the block
- How to disable/enable a plugin at a specific time
- How can I write code in a plugin for my child theme that will allow me to use remove_action() based on if the current page is the home page?
- Enable plugins that are “not supported”
- Need Help Understanding Debug Log Errors
- custom/automatic export function – one post at a time?
- How to create multi-slug admin page and retrieve it with $_GET or something?
- How to show a message to a user?
- WP-admin plugin installation via FTP silently fails on shared hosting
- Is it possible to restrict content in wordpress?
- Prefix of $wpdb does not worked and does not displayed
- Custom Widget not Available after Plugin Installation
- How to allow customers to input a text as a product variation *and* charge per character?
- Site not displaying correctly when re-directing from root to sub-directory
- Best way for overwriting plugin css with custom one
- Can I have a link within a WP UI Spoiler
- How to structure plugin in to functions?
- How can i do custom author list?
- Breadcrumb is not generating the correct post page url
- Plugin Admin Page Ajax-Admin call returning 0, URL set correctly. Implemented localized scripts but did not fix it
- SOLVED – $wp_admin_bar and AJAX calls
- WooCommerce custom query and paging: Not Found error
- booking form with availability calendar [closed]
- How can I convert a complete bootstrap template into a WordPress template? [closed]
- How to avoid conflict between plugin and its edited version?
- Move a single Plugin [closed]
- Animate like Stack exchange frequently asked questions [closed]
- How to Add a Website Background Image to One Page?
- Fetching Video From YouTube Automatically [closed]