• Resolved 7smokes

    (@7smokes)


    Hi,

    I noticed you answered a lot of these, but my question is different –

    Problem: Order hours remain saying ‘closed’ after they should be open or closed.

    There is obviously the check-box, and website caching, all of which I’ve made sure are working. But my host has its own caching enabled. They can’t seem to figure out how to get it to work with your plugin and sent me this.

    “Looks like you just had a chat with Matt regarding the server caching causing the Woo’s store hours not working properly. For issues like these, we would need to exclude the cookie or cache settings within the plugin. Would you mind reaching out to the plugin support and ask which part of the plugin should we exclude from the cache?

    This information would be helpful for the team to correctly adjust the cache settings. Thanks in advance!”

    So I guess if you could provide that information then I can get this plugin to work correctly with all the caching.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bizswoop

    (@bizswoop)

    Thanks for reaching out, we collaborated internally to understand if we could support the request from the hosting provider. Unfortunately, the way the plugin is developed and designed to function, the core functionality impacts the entire website footprint for the banner notification, add to cart function and checkout workflow, excluding the cookie or cache settings within the plugin would not be a possible solution to solve server side cache.?

    Our recommendation?on the hosting provider side is to disable cache on the page level?with the exception of visual content, each provider has different cache optimization?settings, so we aren’t able to provide exact settings. For a dynamic open and close functionality as being performed by the plugin it will not work with a site wide cache strategy. The hosting provider might be hesitant given the increased load for their servers, if cache is not being used and depending on your traffic volume.?

    As you mention from the other posts, this is a challenge for customers which we do understand and have been looking for solutions. As a result, the solution we are working on now for developers is creating a hook based on open and close events of the plugin functionality, this would allow developers to develop a script to call their hosting or firewall services and clear cache based upon the schedule configured. This is what happens locally now. We are trying to land this hook by our next release, hopefully this will give you the ability with your hosting provider to automate this step of clearing the cache for the website by using the hook and a script, if removing cache is not possible for this website instance.?

    We’ll keep the forum post open until we land the hook support in the plugin, allowing you to develop the script with your hosting provider.

    Plugin Author bizswoop

    (@bizswoop)

    Providing an update to this support forum post. In version 4.0+, we’ve added a cache hook to the plugin

    Hook name: zhours_on_cache_clearing

    Now you should be able to develop a solution for server side cache clearing related to the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Another caching question.’ is closed to new replies.