This extension turned out to solve one issue, which is mentioned here in the magento/magento2 repo; Huge "product_data_storage" in localStorage hangs the shop., (*1)
Please update to Magento >= 2.2.8 or >= 2.3.0 or apply the patch mentioned in that issue., (*2)
We've encountered some weird bugs where flushing the localStorage resolved issues (particularly in the checkout but also with the gallery on product pages). These bugs were hard to diagnose and only occurred on machines that have visted the site before., (*3)
This little extension adds a Javascript file that checks the deployed version. If the deployed version (found in /static/deployed_version.txt
) is newer than the last versioned localStorage (which is saved in a cookie), the localStorage is cleared. This should alleviate some issues in certain cases., (*4)