Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
Speed up your site by caching widget output
Speed up your site by caching widget output
Widget Output Cache uses PHP output buffering to capture the rendered output of widgets and stores it in WordPress transients. This reduces the need to regenerate widget content on every page load, especially useful for widgets that fetch remote data or run heavy queries. It is intended for site owners looking for a lightweight, no-fuss caching solution.
widget_output_cache_ttl filter to set a custom cache lifetime, such as 24 hours for stable widgets.No comments yet. Be the first to start the conversation!