elgentos / localstorageversioning
Installs: 3 462
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 10
Forks: 0
Open Issues: 0
Language:JavaScript
Type:magento2-module
This package is auto-updated.
Last update: 2019-10-12 18:23:53 UTC
README
DEPRECATED
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.
Please update to Magento >= 2.2.8 or >= 2.3.0 or apply the patch mentioned in that issue.
Elgentos_LocalStorageVersioning
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.
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.