elgentos/localstorageversioning

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (0.1.3) of this package.

Installs: 3 399

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 10

Forks: 0

Open Issues: 0

Language:JavaScript

Type:magento2-module

0.1.3 2018-08-29 08:38 UTC

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.