Skip to the content

Page caches

When a product changes, the pages that show it are cleared from the caches the plugin knows about.

A page cache would otherwise keep showing an old price for as long as it keeps the page. When a product's price or availability changes, or it is relinked or deleted, the plugin looks up the pages that show it (the "Used on" index) and asks each cache it recognizes to forget just those pages, never the whole site.

  • Recognized: WP Rocket, W3 Total Cache and LiteSpeed Cache.
  • For any other cache, a developer can listen for the selldigits_purge_post_cache action, which is fired for every page, and clear it there.
  • Geotargeting needs to know about caching too: see its "How it's applied" setting.

Type a word, such as "price", "disclosure" or "shortcode".