# 2meet Data Optimizer — Infocards AddOn > 為 **2meet-infocards**(vendor profile / brand cards)提供 hp_vendor 反 EAV 加速。 --- ## What it does | 項目 | 內容 | |---|---| | Hot zone (3 欄位) | `tmeetic_profile_primary` / `tmeetic_profile_accent` / `tmeetic_profile_font`(vendor 主題色 + 字型,列表頁高頻讀)| | Cold zone (6 欄位) | `tmeetic_profile_hero_image` + 5 個 `tmeetic_ig_*`(Instagram 整合:access_token / user_id / username / cached_media / cached_at)| | Custom tables | 3 張 vendor 資料表(`2meet_vendor_profiles` / `2meet_cards` / `2meet_theme_styles`)→ TMDO Custom Table Registry | | Cache groups | `wpdo_cold_hp_vendor` (HOUR_IN_SECONDS) | | Doctor check | `vendor_profiles` 表結構驗證 | --- ## Requirements - WordPress ≥ 6.0 - PHP ≥ 8.1 - 2meet-data-optimizer ≥ 0.1.0 - 2meet-infocards(或相容外掛如 2meet-brandcards) > 本 AddOn 僅做 schema 註冊,2meet-infocards 自身不需感知 AddOn 存在;若 hp_vendor 沒有 tmeetic_* meta,AddOn 不會做任何動作。 --- ## Installation ```bash wp plugin install /path/to/2meet-data-optimizer-infocards-addon-v0.1.0.zip --activate # 驗證 wp tmdo custom-tables --provider=infocards-addon wp tmdo doctor --table=2meet_vendor_profiles wp tmdo benchmark tmeetic_profile_primary --post-type=hp_vendor --samples=100 ``` --- ## 與 hp_vendor 的關係 infocards 系統把 vendor profile 客製欄位(顏色、字型、Instagram 整合)存在 `wp_postmeta` 上,hp_vendor 列表頁需 N+1 次 query 拉所有 vendor 的色票。 本 AddOn 把高頻讀的 3 個 theme 欄位推到 Hot zone,列表頁查詢從 N+3 次 reduce 為 1 次 LEFT JOIN。 --- ## Phase Phase 4 — 與其他 5 個 2meet 家族 AddOn 同期 ship。 --- ## License GPL-2.0-or-later