# Blocks v7 (legacy) > Storefront documents the Blocks framework, the Site Editor app, website templates, and commerce integrations. > Studio documents the extensible platform: context, tasks, sandboxes, connectors, and MCP Apps. > Blocks v8 is the current version. Blocks v7 is legacy; Fresh and the former admin are retired. > Site Editor publishing follows Git changes, a pull request, review or merge, and the configured deployment. Runtime content reload APIs are separate delivery capabilities. > Respect availability labels. Do not describe preview, planned, or in-build APIs as available. Any documentation page is available as Markdown by appending `.md` to its URL. ## Scoped indexes - [Storefront — current](https://docs.decocms.com/storefront/llms.txt) - [Studio](https://docs.decocms.com/studio/llms.txt) - [Site Editor](https://docs.decocms.com/storefront/editor/llms.txt) - [Templates and storefront implementation](https://docs.decocms.com/storefront/templates/llms.txt) - [Blocks v8 — current](https://docs.decocms.com/storefront/blocks/llms.txt) - [Blocks v7 — legacy](https://docs.decocms.com/storefront/blocks/legacy/llms.txt) - [Fresh — retired runtime archive](https://docs.decocms.com/storefront/blocks/fresh/llms.txt) - [Former admin — retired archive](https://docs.decocms.com/storefront/legacy/llms.txt) > This index covers legacy Blocks v7. Use the Blocks v8 index for current guidance. ## Blocks — Getting started - [Blocks 7.x](https://docs.decocms.com/storefront/blocks/legacy/overview.md) [LEGACY v7]: Configuration management for humans and agents with the released Blocks 7.x framework. - [How v7 works](https://docs.decocms.com/storefront/blocks/legacy/architecture.md) [LEGACY v7]: The request path, the authoring path and the package graph of a Deco Blocks v7 site. - [Quickstart: TanStack Start on Cloudflare Workers](https://docs.decocms.com/storefront/blocks/legacy/quickstart.md) [LEGACY v7]: Build a TanStack Start site on Cloudflare Workers with one CMS-driven page that Deco Studio can edit. - [Quickstart: Next.js App Router](https://docs.decocms.com/storefront/blocks/legacy/quickstart-nextjs.md) [LEGACY v7]: Add Deco Blocks to a Next.js App Router site, render one CMS page and connect Deco Studio. - [Project structure](https://docs.decocms.com/storefront/blocks/legacy/project-structure.md) [LEGACY v7]: The files of a Deco Blocks v7 site, the files the code generator writes, and which of them to commit. ## Blocks — Core concepts - [Blocks and sections](https://docs.decocms.com/storefront/blocks/legacy/model.md) [LEGACY v7]: What a block is, how to write a section that editors can configure, and how sections are registered and nested. - [Content and the decofile](https://docs.decocms.com/storefront/blocks/legacy/content.md) [LEGACY v7]: How a v7 site stores content as a flat map of JSON blocks, how blocks refer to each other, and how content reaches the running site. - [Pages and routing](https://docs.decocms.com/storefront/blocks/legacy/routing.md) [LEGACY v7]: How a URL finds a page block in v7, the path pattern syntax, redirects, sitemaps, and the route helpers in each binding. - [Loaders and actions](https://docs.decocms.com/storefront/blocks/legacy/loaders.md) [LEGACY v7]: The three kinds of server functions in a v7 site (loaders called from content, section loaders, and site loaders and actions) and how to call them over /deco/invoke. - [Matchers and variants](https://docs.decocms.com/storefront/blocks/legacy/variants.md) [LEGACY v7]: Show different content to different visitors with multivariate flags and matchers, including A/B splits, device and location rules, and custom matchers. - [Schema generation](https://docs.decocms.com/storefront/blocks/legacy/schema.md) [LEGACY v7]: How Studio's forms are generated from your TypeScript Props types and JSDoc tags, and how the schema is served to Studio. - [Site Editor and the v7 admin protocol](https://docs.decocms.com/storefront/blocks/legacy/studio.md) [LEGACY v7]: The v7 runtime's metadata, preview, invoke and content reload endpoints, and how they relate to Studio's repository-backed Site Editor. - [Previews and draft preview](https://docs.decocms.com/storefront/blocks/legacy/preview.md) [LEGACY v7]: How Studio previews sections and pages, how to make previews render correctly, and how draft preview shows unpublished content on the real site. - [Request context](https://docs.decocms.com/storefront/blocks/legacy/request-context.md) [LEGACY v7]: Read the current request, its abort signal, device and request id from anywhere in server code with RequestContext, and set response headers from loaders and actions. ## Blocks — Rendering - [Section conventions](https://docs.decocms.com/storefront/blocks/legacy/sections.md) [LEGACY v7]: The exports a section file can declare (eager, layout, cache, sync, LoadingFallback and the rest), what each one changes, and how they reach the runtime. - [Deferred sections](https://docs.decocms.com/storefront/blocks/legacy/rendering.md) [LEGACY v7]: How sections that editors mark async in Studio render as a skeleton first and load afterwards, which sections get deferred, and how to configure it. - [Images, scripts and UI helpers](https://docs.decocms.com/storefront/blocks/legacy/components.md) [LEGACY v7]: The React components and helpers sections use most, such as Image and Picture, LazySection, inline scripts, device detection, cookies, analytics events, load-more pagination and JSON-LD. - [SEO](https://docs.decocms.com/storefront/blocks/legacy/seo.md) [LEGACY v7]: Where a page's title, description, canonical URL and structured data come from, how each binding writes them into the head, and how crawlers are treated. ## Blocks — Framework guides - [TanStack Start on Cloudflare Workers](https://docs.decocms.com/storefront/blocks/legacy/tanstack.md) [LEGACY v7]: Every file, option and component the TanStack Start binding gives a site that runs on Cloudflare Workers. - [Next.js App Router](https://docs.decocms.com/storefront/blocks/legacy/nextjs.md) [LEGACY v7]: The four surfaces of the Next.js binding in depth, how to render CMS pages as Server Components, and what the binding deliberately leaves out. - [Storefront as an API](https://docs.decocms.com/storefront/blocks/legacy/storefront-api.md) [LEGACY v7]: Serve loader results and whole CMS pages as JSON for native apps and other non-HTML clients. - [Eitri apps](https://docs.decocms.com/storefront/blocks/legacy/eitri.md) [LEGACY v7]: Use @decocms/eitri to generate the schema and content snapshot Studio needs to author content for an Eitri mobile app. ## Blocks — CLI - [Code generation](https://docs.decocms.com/storefront/blocks/legacy/generate.md) [LEGACY v7]: What the generate command produces from your content and source, when each generator runs, how its cache works, and every flag. - [CLI reference](https://docs.decocms.com/storefront/blocks/legacy/cli.md) [LEGACY v7]: Synopsis, flags, defaults and exit codes for every command in @decocms/blocks-cli and @decocms/eitri. ## Blocks — Apps - [Apps](https://docs.decocms.com/storefront/blocks/legacy/apps.md) [LEGACY v7]: What a Deco app is, how a site installs and configures one, and which apps exist today. - [Commerce types and utilities](https://docs.decocms.com/storefront/blocks/legacy/apps-commerce.md) [LEGACY v7]: The shared commerce vocabulary every platform app returns, the Cart v2 contract, and small helpers for prices, links, offers and analytics. - [Website app](https://docs.decocms.com/storefront/blocks/legacy/apps-website.md) [LEGACY v7]: The generic, non-commerce half of a site: SEO sections, analytics tags, theme and fonts, video, and the secret and environment loaders. - [VTEX](https://docs.decocms.com/storefront/blocks/legacy/vtex.md) [LEGACY v7]: Configure the VTEX app, register its cached commerce loaders, wire checkout, segments and sitemaps into the Worker, and build the cart with Cart v2. - [Shopify](https://docs.decocms.com/storefront/blocks/legacy/shopify.md) [LEGACY v7]: Connect a site to the Shopify Storefront API for product pages, listings, shelves, carts and customer sign-in. - [Wake](https://docs.decocms.com/storefront/blocks/legacy/wake.md) [LEGACY v7]: Connect a site to Wake Commerce for catalog pages, search, carts, wishlists and checkout routing. - [Magento](https://docs.decocms.com/storefront/blocks/legacy/magento.md) [LEGACY v7]: The partial Magento app: configuration, cart, user and wishlist loaders, a few actions, a shared response cache and an instrumented fetch. - [Salesforce Personalization](https://docs.decocms.com/storefront/blocks/legacy/salesforce.md) [LEGACY v7]: Product recommendations from Salesforce Marketing Cloud Personalization, as three stateless loaders. - [Algolia](https://docs.decocms.com/storefront/blocks/legacy/algolia.md) [LEGACY v7]: A shared, configured Algolia v5 client for writing your own search loaders. - [Blog](https://docs.decocms.com/storefront/blocks/legacy/blog.md) [LEGACY v7]: Write blog posts, categories and authors in Studio, and list, page, search and render them with SEO and structured data. - [Resend](https://docs.decocms.com/storefront/blocks/legacy/resend.md) [LEGACY v7]: Send transactional email, such as contact-form messages, through Resend. ## Blocks — Production - [Deploying and Fast Deploy](https://docs.decocms.com/storefront/blocks/legacy/releases.md) [LEGACY v7]: Deploy v7 code and repository content; configure optional Fast Deploy runtime/KV delivery separately from Studio's GitHub publish workflow. - [Caching](https://docs.decocms.com/storefront/blocks/legacy/caching.md) [LEGACY v7]: The cache layers of a v7 site, the cache profiles that configure them, and how to segment, debug and purge the edge cache. - [Observability](https://docs.decocms.com/storefront/blocks/legacy/observability.md) [LEGACY v7]: The traces, metrics and logs a v7 site emits, how to send them to your OpenTelemetry collector, and how to instrument your own code. - [Speculation rules](https://docs.decocms.com/storefront/blocks/legacy/speculation-rules.md) [LEGACY v7]: Let the browser prefetch or prerender the next page before a click, on TanStack Start sites, without double-counting analytics. - [Troubleshooting](https://docs.decocms.com/storefront/blocks/legacy/troubleshooting.md) [LEGACY v7]: Symptoms you may hit on a v7 site, what causes each one, and how to fix it. ## Blocks — Upgrading - [Upgrading from @decocms/start 6.x](https://docs.decocms.com/storefront/blocks/legacy/upgrade-from-start.md) [LEGACY v7]: Move a TanStack Start site from the single @decocms/start 6.x and @decocms/apps 5.x packages to the split v7 packages. - [Migrating from Fresh and Deno](https://docs.decocms.com/storefront/blocks/legacy/migrate-from-fresh.md) [LEGACY v7]: Move a Deco storefront from Fresh, Preact and Deno to TanStack Start, React 19 and Cloudflare Workers with the deco-migrate tooling. - [Going live after a migration](https://docs.decocms.com/storefront/blocks/legacy/migration-cutover.md) [LEGACY v7]: Check a migrated storefront against the live Fresh site and move traffic to it gradually. - [Moving a Next.js site off @decocms/start 5.x](https://docs.decocms.com/storefront/blocks/legacy/nextjs-from-start.md) [LEGACY v7]: Replace the @decocms/start 5.x /core, /next and /node imports of a Next.js site with @decocms/blocks, @decocms/blocks-admin and @decocms/nextjs. ## Blocks — Reference - [Packages and exports](https://docs.decocms.com/storefront/blocks/legacy/packages.md) [LEGACY v7]: Every v7 package, every import path it exposes, and which ones are safe in browser code. - [Configuration reference](https://docs.decocms.com/storefront/blocks/legacy/configuration.md) [LEGACY v7]: Every environment variable, binding and setup option a v7 site reads, in one place. - [Glossary](https://docs.decocms.com/storefront/blocks/legacy/glossary.md) [LEGACY v7]: The terms used throughout the v7 docs, each with a short definition and a pointer to where it's explained. ## Blocks — Additional reference - [SDK utilities](https://docs.decocms.com/storefront/blocks/legacy/framework/sdk-utilities.md) [LEGACY v7]: Verified SDK examples for encoding, redirect maps, server timing and connection-closed retries. - [Framework package export maps (7.43.0)](https://docs.decocms.com/storefront/blocks/legacy/reference/package-exports.md) [LEGACY v7]: Verified export maps for the packages published at version 7.43.0. - [Commerce package export maps (7.43.0)](https://docs.decocms.com/storefront/blocks/legacy/reference/commerce-exports.md) [LEGACY v7]: Verified export maps for the packages published at version 7.43.0. ## Blocks — Engineering reference - [How v7 is built](https://docs.decocms.com/storefront/blocks/legacy/internals.md) [LEGACY v7]: Why v7 ships as separate packages of plain TypeScript source, how runtime state stays single, and which entry points are safe for the browser. - [How resolution works](https://docs.decocms.com/storefront/blocks/legacy/walkthrough.md) [LEGACY v7]: What the runtime does to turn a page block's JSON into sections ready to render, in order, with a worked example. - [The Worker request pipeline](https://docs.decocms.com/storefront/blocks/legacy/request-pipeline.md) [LEGACY v7]: Everything createDecoWorkerEntry does with a request on TanStack Start, in order, from opening the request scope to the edge cache and the response headers.