Wordpress LScache Plugin: How to exclude open/close time from cache
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi, Is there a way to find the open/close time scripts to exclude from the cache. Its a plugin. cheers The page I need help with: https://tdprint.co.uk Hi @itism64, may I know the plugins name and is it using with shortcode/widget? Hi @stanleylitespeed Thanks for the quick reply. Name of the plugin is https://wordpress.org/plugins/business-hours-indicator/ Works with shortcode [mbhi location= TD print ] but think I found the solution [esi mbhi location= TD print cache= private ttl= 300 ] and looks like it works. Great plugin use it for some years now, thanks for the support Cheers Hi @itism64, Just a tip, if the business hours are same to all visitors, you dont have to set that cache to private, otherwise it will always hit PHP once for new visitors and lose the benefit of cache at that moment. Hi @hailite Ok thanks for the tip and changed. cheers The default value of cache param is public,no-vary. That should be sufficient for business hours. So you can remove that param to just use default value.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference