Log in
Model

LastUpdateTimeCache

Magento\Sales\Model\Grid\LastUpdateTimeCache

What it does

This class manages caching of the last update timestamp for Magento 2 sales grid tables (orders, invoices, shipments, etc.).

Developers use it to track when grid data was last refreshed, which helps optimize grid synchronization performance by avoiding unnecessary updates.

It provides simple save, get, and remove operations with a 1-hour cache lifetime.

Public Methods

  • save()
  • get()
  • remove()