Cache Your Shortcode in WordPress
In your short code, check if a cached version of the shortcode output is already cached prior to building the output: After the shortcode has generated the output, save the output and set a time limit before you return the output. reference: https://www.gavick.com/blog/create-shortcode-cache-simply
Cache Your Shortcode in WordPress Read More »