• Resolved Supplement Genie

    (@supplementgenie)


    I have an Ecommerce store and use the hummingbird plugin for caching and it works great.

    My main issue is that on my homepage, I have a recently viewed products widget. If I go straight to a product and then to my homepage, it shows the product which I viewed in this widget.

    However, if I then view another product and go back to my homepage, the widget does not recognise that I have viewed this product due to the page caching.

    I currently need to cache all pages bar my home page. Is there a workaround so that I can cache my homepage and have the widget working?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @supplementgenie,

    The whole point of caching is to exclude WordPress from loading the core files. In order to get the data for the widget, Hummingbird would need to allow WordPress to load. So there’s not too much benefit in caching only parts of the page. To answer your question – no, at the moment, unfortunately there is no way to allow Hummingbird to cache only parts of a page. A possible solution would be to use a javascript widget, that will get the viewed products dynamically, regardless of the cached HTML.

    Best regards,
    Anton

    Thread Starter Supplement Genie

    (@supplementgenie)

    @vanyukov

    I use the standard Recently viewed products widget that comes with Woocommerce. No options with that?

    Alexandra A.

    (@montenegroecoadventuresorg)

    I will mark this as a feature request. If we get more similar requests, we’ll add support for this widget.

    Best regards,
    Anton

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Omitting areas of Cached page’ is closed to new replies.