<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Customer:etc/sections.xsd">
    <action name="catalog/product_compare/add">
        <section name="compare-products"/>
    </action>
    <action name="catalog/product_compare/remove">
        <section name="compare-products"/>
    </action>
    <action name="catalog/product_compare/clear">
        <section name="compare-products"/>
    </action>
    <action name="customer/account/logout">
        <section name="recently_viewed_product"/>
        <section name="recently_compared_product"/>
    </action>
</config>
