An online store has to reconcile two opposing demands. A fast catalog means keeping pages cached, while accurate stock means rereading the data at every moment. We decided data by data. Object names, prices and photos are served from the cache and only refreshed when they change. Availability shown in listings has its own cache, so a sale refreshes only that, without slowing down the rest of the catalog. On an object’s page, stock is reread on every view, then checked twice at payment, and neither the cart nor the customer account ever goes through the cache.
This level of control isn’t available on a platform like Shopify, where caching stays in the vendor’s hands. Background tasks, such as sending emails or updating search, also run in a separate process, so they never slow down customers’ browsing.