DEV Community

FridgeFilt Engineering
FridgeFilt Engineering

Posted on

Building a 343-Model Appliance Filter Cross-Reference Dataset & Accept: text/markdown Negotiation for AI B2B Sourcing

If you have ever tried to normalize spare-parts SKUs in an e-commerce ERP or build an automated procurement lookup for home appliances, you know the pain of fragmented OEM part-number aliasing.

Take one seemingly simple component: a replacement refrigerator water filter. A single physical cartridge housing often circulates under six to ten different brand labels, regional suffixes, and legacy part numbers. Worse, two filters that share the exact same marketing name—such as Bosch UltraClarity (644845 / 9000 077104, 225 × 55 mm) and UltraClarity Pro (BORPLFTR50 / 11032531, 208 × 54 mm)—are mechanically non-interchangeable because their twist-lock bayonet collars differ by a few millimeters.

When we built the B2B engineering portal for FridgeFilt (Huizhou Qingheng Technology Co., Ltd.), we decided to treat appliance filter compatibility as an open structured-data problem rather than burying specs inside unparseable PDFs or marketing copy. Here is the technical architecture we shipped—and the real-world caching gotcha we caught when serving Accept: text/markdown at the Cloudflare edge.


1. Normalizing 27 Core SKUs Across 343 Appliance & OEM Part Codes

Most aftermarket catalog sites dump hundreds of near-duplicate model pages into their sitemap with thin text, which triggers search-engine cannibalization and confuses AI retrieval agents.

Instead, we structured our catalog around a single canonical schema exported in three machine-readable formats on our 2026 Cross-Reference Matrix:

  • fridgefilt-cross-reference-2026.csv — 27 stocked water, fresh-air, and commercial ice-maker SKUs × 24 engineering & logistics fields (metric/imperial dimensions, dry weight, rated volumetric capacity, flow rate in GPM and L/min, PSI/bar operating range, requires_rfid boolean, MOQ, carton packing geometry, and alias strings).
  • fridgefilt-cross-reference-2026.json — Equivalent typed JSON payload with canonical English, Spanish, and clean Markdown spec endpoints.
  • filter-finder-index.json — A 343-entry lookup index mapping GE, Samsung, LG, Whirlpool/EveryDrop, Frigidaire, Bosch/Siemens/Neff, Haier, and Kenmore refrigerator prefixes directly to their verified physical cartridge family.

Encoding Hard Non-Interchangeability Boundaries as Data

Rather than relying on prose disclaimers alone, we explicitly modeled four high-return boundary conditions in the dataset:

  1. RFID-gated cartridges (requires_rfid: true): GE-RPWFE and GE-XWFE contain pre-paired RFID authentication tags; standard GE-MWF cartridges physically look similar to buyers browsing thumbnails but will be locked out by RFID-enabled GE dispensers.
  2. External 1/4" inline vs. internal twist-lock housings: In European side-by-side fleets, Samsung DA29-10105J (HAFEX/EXP, 254 × 52 mm) and LG BL9808 (5231JA2010B, 255 × 53 mm) mount externally on 6.35 mm (1/4") supply tubing—completely separate from internal cartridges like DA29-00020B or LT1000P.
  3. Bosch/Siemens UltraClarity generations: Separating 644845 (bayonet head) from BORPLFTR50 (UltraClarity Pro) prevents the #1 European warehouse pick-pack error.
  4. Non-pressurized fresh-air cassettes vs. pressurized water cartridges: LG-LT120F and FRIGIDAIRE-PAULTRA2 are atmospheric cabin odor filters (9 mm thick), never pressurized drinking-water housings.

We also published the full dataset under CC-BY-4.0 across multiple open repositories so engineers, ERP pipelines, and RAG systems can ingest it directly without scraping HTML:


2. Serving Clean Markdown to AI Agents (Accept: text/markdown) Without Breaking Browser Cache

Modern B2B buyers increasingly use AI assistants and autonomous procurement agents to compare supplier specs, carton dimensions, and compliance boundaries. Scraping 150 KB of Tailwind HTML wastes tokens and strips table semantics.

So we added:

  1. /llms.txt and /llms-full.txt (plus localized /es/llms.txt, /de/llms.txt, /fr/llms.txt) pointing directly to clean Markdown mirrors (/md/products/<slug>.md, /md/guides/<slug>.md, /md/de/<slug>.md, /md/fr/<slug>.md).
  2. HTTP Content Negotiation in Cloudflare Pages functions/_middleware.ts: when a request arrives with Accept: text/markdown on a product or guide route, the edge middleware fetches the pre-built static .md mirror from env.ASSETS and returns Content-Type: text/markdown; charset=utf-8.

The Edge Caching Gotcha We Caught in Production

Initially, our middleware returned:

Content-Type: text/markdown; charset=utf-8
Vary: Accept
Cache-Control: public, max-age=3600
Enter fullscreen mode Exit fullscreen mode

That looks textbook—until you test it behind Cloudflare's default CDN cache. On standard plans without custom Cache Keys, Cloudflare ignores Vary: Accept for HTML/Markdown content negotiation. If an AI crawler hits /products/ge-mwf-compatible-refrigerator-water-filter/ with Accept: text/markdown and caches a public, max-age=3600 response, a human buyer visiting the same URL from Chrome seconds later can be served raw Markdown—or vice versa!

The fix was switching negotiated Markdown responses to:

headers.set('content-type', 'text/markdown; charset=utf-8');
headers.set('vary', 'Accept');
headers.set('cache-control', 'private, no-store');
Enter fullscreen mode Exit fullscreen mode

Meanwhile, direct requests to the explicit /md/products/*.md URLs remain 100% edge-cacheable because they have their own dedicated URL path. Zero cache poisoning, instant static delivery for humans, and zero-noise Markdown for AI agents.


3. Tiered Indexing: Preventing 343 Model Pages from Cannibalizing 27 Product Pages

Another classic programmatic-SEO trap is letting 343 appliance lookup pages compete directly against core wholesale product pages.

We solved this with two automated build-time guardrails verified on every commit:

  • Tier-1 vs. Tier-2 indexing split: Only 35 canonical flagship OEM part pages (one primary code per SKU family) are index,follow and included in sitemap-models.xml. The remaining ~308 appliance-model and alias lookup pages remain live in-site for the interactive Filter Finder, carry noindex,follow, and use rel="nofollow" from directory hubs to conserve crawl budget.
  • Automated Jaccard similarity gate: Our test suite computes pairwise content similarity across all indexed Tier-1 model pages and fails CI if any pair exceeds 0.78. That guardrail immediately caught duplicate alias indexing when we added European SKUs (bosch-644845 vs. bosch-9000077104), keeping the indexed graph lean and high-signal.

4. Open Engineering Benchmarks Beat Generic Marketing Claims

Finally, we structured our factory QA standards—hydrostatic burst pressure (≥300–350 PSI), 100,000-cycle water-hammer fatigue limits, 100% inline pressure-decay leak screening (80–120 PSI), and 0.5-micron sintered coconut carbon block chlorine reduction benchmarks—as structured data inside our 5-Stage QC & Return-Risk Engineering Report, while explicitly distinguishing component-level NSF/ANSI 42/53/372 carbon-block documentation from finished-cartridge certification.

If you are building B2B hardware or industrial parts catalogs for the 2026 search + AI era, publishing clean, honest, versioned CSV/JSON datasets alongside safe Accept: text/markdown endpoints is one of the highest-leverage engineering investments you can make.

Feel free to inspect or fork the dataset on GitHub or explore the full AI discovery index at fridgefilt.com/llms.txt.

Top comments (0)