ddtcorex

Posts tagged “magento2”

12 posts

11 Oct 2026

A modern image pipeline for Magento 2

Serve AVIF and WebP through responsive srcsets and CDN transforms to halve product image weight without touching templates

magento2performanceimages

11 Oct 2026

Attribute design for a 500k-SKU catalog

How backend types, attribute sets and catalog_product_entity value tables decide whether a 500k-SKU catalog stays fast or stalls

magento2catalogdatabase

10 Oct 2026

Integration tokens, OAuth, and the admin token you should not use

Compare admin, customer, and integration tokens, rotate secrets safely, and stop using the admin token for integrations

magento2apisecurity

10 Oct 2026

Case study: a webhook retry storm that took down our own ERP

A payment webhook retried every 30 seconds without an idempotency key, so each retry re-posted the same goods receipt and locked the ERP queue

magento2apidevops

09 Oct 2026

Custom REST endpoints: webapi.xml, ACL, and service contracts

Define a service contract, wire it through webapi.xml with ACL resources, and expose a versioned REST endpoint clients can trust

magento2apiarchitecture

09 Oct 2026

Case study: one GraphQL query that issued 1,900 SQL queries

One category GraphQL query fired 1,900 SQL statements from a per-product resolver, and the slow-query log showed the same stock lookup repeating

magento2graphqlperformance

08 Oct 2026

Cart and checkout mutations end-to-end

Create a guest cart, resolve its masked quote id, and drive add-to-cart through place-order mutations without breaking checkout state

magento2graphqlcheckout

08 Oct 2026

Case study: a reindex took the search page down

A midday catalogsearch_fulltext reindex swapped the live alias too early, so the search page queried an empty index and returned zero results

magento2opensearchsearch

07 Oct 2026

Caching GraphQL: full-page cache, query hashing, and cache tags

How CACHABLE_QUERY hashes, cache tags, and identity headers make Magento 2 GraphQL responses cacheable without serving stale storefront data

magento2graphqlperformance

07 Oct 2026

Case study: the ERP sync oversold 400 units

The ERP flat file pushed absolute stock numbers with no reservation check, so 400 oversold units shipped before MSI ever saw the deficit

magento2erpinventory

06 Oct 2026

Resolvers, batch loaders, and the N+1 trap in GraphQL

Why per-item GraphQL resolvers cause N+1 database storms in Magento 2 and how a batch loader collapses them into one query per field

magento2graphqlperformance

06 Oct 2026

Case study: a ban storm made Varnish slower than no cache

Varnish ban_lurker stats and n_expired counters proved nightly product-feed bans were purging the whole catalog instead of a few URLs

magento2varnishperformance

Browse by topic: