Judge.me: Metafield SSR caching, pre-signed S3 uploads and open-web auto-publish
Static and sandbox behavioral teardown of Judge.me Product Reviews: Shopify-only consolidation, dual-namespace metafield caching, precompiled AI-crawler SSR HTML, pre-signed S3 photo uploads, and open-web auto-publish.
- App Bridge + S3 presigned media
- Dual-namespace metafield cache
- SSR AI HTML + Postmark verify
Investigation question
How does Judge.me precompile product reviews into Shopify metafields for zero-latency Liquid and AI-crawler SSR rendering, handle browser media uploads without proxying image bytes, and trade spam protection for instant open-web auto-publication?
Observed
Public OpenAPI 3.0.0 specifications (judge.me/api/docs.yaml), CDN widget loaders (widget_preloader.js, shopify_v2.js, loader.js), and controlled sandbox store observation reveal a Shopify-exclusive Rails and Vue 3 multi-tenant SaaS architecture. First, widget_preloader.js shows Judge.me sunsetted non-Shopify ecommerce integrations (WooCommerce, BigCommerce, Squarespace, Duda, and PrestaShop), coupling persistence and storefront delivery directly to Shopify Theme App Extensions (judgeme_core, preview_badge, review_widget) and Shopify Metafields. Instead of running N+1 client XHR waterfalls on collection grids, Judge.me writes pre-rendered HTML and JSON caches into Shopify shop and product metafields (growing to 39 shop and 12 product metafields across both judgeme.* and unreserved literal app--<id>.* namespaces), alongside Shopify standard reviews.rating and reviews.rating_count metafields. Second, when enable_ai_review_visibility is active, Judge.me compiles judgeme.review_widget_ssr_html and judgeme.review_widget_json_ld (schema.org/Product and AggregateRating) directly into product Liquid output so zero-JS HTTP GET crawlers receive full review text and aggregate ratings. Third, storefront submissions collect rating, title, and body first, request short-lived AWS S3 multipart fields from POST /api/v1/pictures/presigned_data (up to 5 photos on Forever Free), and POST form-urlencoded payloads (to satisfy CORS without preflight) to /api/v1/reviews. Under default settings, open-web submissions transition immediately to curated=ok and verified=nothing while a Postmark confirmation email (ea.pstmrk.it) upgrades verified status on click.
Inferred
Three architectural tradeoffs stand out: (1) duplicating feature flags and HTML blobs into literal unreserved app--<id>.* namespaces alongside judgeme.* provides a fast Liquid read cache that survives theme swaps, but leaves orphaned merchant-owned metafields behind after app uninstall; (2) precompiling SSR HTML and JSON-LD into product metafields solves zero-JS crawler visibility without shipping an MCP server or llms.txt index, and populates Shopify's standard reviews.rating fields for native catalog consumers; and (3) defaulting open-web submissions to curated=ok optimizes for merchant gratification, yet exposes storefronts to unverified web spam unless merchants tighten moderation or require order-matched tokens.
Unknown & limitations
Observed strictly across public documentation, OpenAPI 3.0.0 specs, CDN scripts, and an isolated Forever Free ($0/month) sandbox test flow; no Awesome ($15/month) paid-tier features (coupons, Q&A, Google Shopping XML, cross-shop syndication) or private merchant data were accessed. Internal Rails background job queues, anti-spam sentiment scoring weights, and server-side database schemas remain outside public and sandbox artifacts.
Architecture
Three runtime planes: (1) embedded Shopify Admin SPA (Vue 3 + Vite + Pinia, 435-chunk lazy route manifest over Shopify App Bridge session exchange); (2) Theme App Extension storefront blocks (judgeme_core, preview_badge, review_widget) hydrating from precompiled Shopify metafields via shopify_v2.js and v3 loader.js; and (3) Rails API and background compilation tier (judge.me/api/v1) paired with S3 presigned media uploads and Postmark transactional email.
Domain & data models
Core entities span Review (id, product_external_id, rating 1..5, title, body, pictures[] with compact/small/huge/original edge variants, reply { body, created_at, public }, curated enum [not-yet, ok, spam], and orthogonal verified enum [nothing, Confirmed, verified-purchase, admin, ok]), Reviewer, Product, a 12-column CSV portability schema, and Shopify product metafields (judgeme.widget, judgeme.badge, judgeme.review_widget_ssr_html, judgeme.review_widget_json_ld, reviews.rating, reviews.rating_count).
Workflows & state machines
Two primary state machines: (1) Post-fulfillment scheduling triggers off Order Fulfilled with 14-day domestic and 21-day international defaults, cancelling on refund or cancellation and embedding interactive HTML forms inside Postmark request emails with hosted multi-item fallbacks; and (2) Storefront submission walks rating and text -> POST /api/v1/pictures/presigned_data direct-to-S3 upload -> reviewer identity -> application/x-www-form-urlencoded POST /api/v1/reviews, immediately publishing curated=ok by default until email verification upgrades verified status.
API & protocol surfaces
OpenAPI 3.0.0 REST API at https://judge.me/api/v1 authenticated via api_token + shop_domain or OAuth2: GET /reviews, GET /reviews/count, GET/PUT /reviews/{id}, POST /reviews (application/x-www-form-urlencoded required from browsers for CORS), GET /widgets/product_review, GET /widgets/preview_badge, POST /pictures/presigned_data, and POST/DELETE /webhooks (review/created, review/updated). Zero MCP endpoints and zero llms.txt index observed.