• Tried all popular caching plugins, still haven’t found a solution for this. Hopefully Zencache will take this under consideration.

    When a sidebar contains a widget builtin in Woocommerce to show Recently Viewed Products, it is still being cached. This causes a simple problem:

    Let’s say we have Product1, Product2, Product3. If you open these, the following problem occurs:

    1. Open Product1. No items shown in recently viewed (RW)
    2. Open Product2. RW shows Product1
    3. Open Product3. RW shows Product1, Product2.
    4. Re-open Product1. RW shows nothing.

    If someone has encountered this and has a workaround (for any caching plugin) please let me know. However, my first choice was ZenCache, simply because I have used it (as QuickCache) in numerous sites with no problems whatsoever, and really had no reason to switch. This is my first e-shop with Woocommerce, and there are many caching plugins that claim to be compatible 100%. They are not. This would give Zencache a significant advantage IMHO.

    Thanks

    https://ww.wp.xz.cn/plugins/zencache/

Viewing 1 replies (of 1 total)
  • Plugin Author Raam Dev

    (@raamdev)

    @fesarlis The reason the widget is being cached is that ZenCache (like other WordPress caching plugins) is a page caching plugin, meaning it caches the entire page. (See Why isn’t my dynamic content updating?).

    Some plugins (W3TC and WP Super Cache) have experimented with a feature we refer to as “dynamic fragmentation”, where you tell the caching plugin to leave a portion of the page dynamic while caching the rest of the page, however those implementations have been prone to security risks. We have a feature request open to explore adding a dynamic fragmentation feature to ZenCache, but we want to make sure that such a feature does not pose any serious security risks to site owners. It’s a tough feature to implement from a technical perspective, with lots of tradeoffs.

    The point of a caching plugin is to cache the site and make it as fast as possible, but if we need to allow certain portions of a page to remain dynamic, then we have to let WordPress fully load, which slows down each page load, thereby defeating the purpose of the caching plugin in the first place.

    This KB Article explains a few options for keeping your content dynamic while still caching other parts of your site.

Viewing 1 replies (of 1 total)

The topic ‘Woocommerce still having issues’ is closed to new replies.