Sometimes you need a compromise between the time cache holds an object (to improve the page load times) and the time the changes are applied. Magento 2 provides some mechanisms for the content to be updated when is modified: For example when a product is updated, the corresponding URL is flushed from Varnish so the […]
Posts tagged with: magento 2
Updating a Single Order Attribute in Magento 2
Introduction As a Magento developer, you may have encountered scenarios where you need to update a single attribute of an order without saving the entire order object. This can be useful in optimizing Magento performance, as it reduces the load on your system when making minor updates. In this Magento tutorial, we’ll walk you through […]