Cache for Data Updates Optimization

Starting with version 1.5.0, our Sales Layer plugin for PrestaShop provides you with a cache that quickly detects if a product has any changes or not.

Thus, the plugin will keep a record in PrestaShop of the changed items to be synchronized (a list of data hashes created from all the content of the item).

This cache can be cleared individually or collectively:

  • Individually: through one of the following options:
    • Making changes from Sales Layer: If you want the cache to be updated for some specific items, simply edit the item in Sales Layer. You can edit any field but it would not work if you only change the status of the item.
    • Making a change in PrestaShop: the client can cause a change in the last modification date by modifying any data of the item. As a consequence, the plugin detects the change, and after the next Sales Layer synchronization, the received content will be accepted even if it does not include changes.
  • Collectively: In the Diagnostics tab, the plugin offers the “Clear data hash cache” functionality, which clears the cache of all the items. This operation will overwrite the items in the next synchronization even if they haven’t been edited. For this reason, this operation may cause the synchronization to take longer than usual.
1