Wordpress LScache Plugin: New entry from the shop order query doesnt display without purging the cache
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello Litespeed Cache, Hope youre doing well. Im having an issue, a new entry from the shop order query doesnt display without purging the cache. When I hit a normal refresh on the browser It doesnt display the new entry. I used this query to retrieve new entries from woo-commerce orders inside the shortcode. This is working properly the only problem is it doesnt display new entries unless you purge the cache. $post = array( post_type => shop_order, posts_per_page => 12, paged => 1, fields => ids, post_status => array(wc-pending, wc-completed, wc-cancelled), meta_query => array( array( key => _order_booking_product_id, value => getUserProductID(), compare => =, ), ), ) $query = new WP_Query($post) ??. Any thoughts? Best regards. Report number:?UAFSRUKI Report date:?05/01/2022 08:10:14 if you do it by shortcode , maybe you can try make it ESI shortcode , so that block wont be cached otherwise you may need to give a purge action to specific page where you display this when order is submitted Hello, @CacheCrawler Ive updated my shortcode from [fetch_orders] to [esi fetch_orders] but still the same. try [esi fetch_orders ttl=0 ] , then purge all make sure you have ESI enabled
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference