Test drafts on your webflow.io staging site before they reach the live domain.
Cairn delivers different content depending on where the page is being viewed:
Production: your custom domain gets the last published version of each script.
Staging: your *.webflow.io staging domain gets the latest saved draft, with caching turned off so changes show up on the next reload.
So the normal workflow is: save, reload the webflow.io site to test, and only Publish when it works. Publishing is what moves the draft to your live domain. Nothing reaches production from a save alone.The publish panel in the editor shows both destinations for the current site: the staging domain and the production domain, each with its last-published timestamp.
How Cairn detects staging
The loader request carries the page’s domain, and Cairn treats it as staging when it matches any of these:
The site’s webflow.io staging domain (picked up automatically from Webflow).
Any custom staging domains you add in the site’s settings (comma-separated; subdomains match too).
Auto-detected staging hostnames, if auto-detection is on for the site: localhost, *.webflow.io, *.vercel.app, *.netlify.app, and hostnames containing -staging., .staging., .preview., .test., or .dev..
When Cairn can’t tell what the domain is, it defaults to production, which is the safer direction.
If you serve a real production site on a domain that matches an auto-detect
pattern (say, a .dev TLD), add it as a Webflow custom domain or turn
auto-detection off for that site so visitors don’t get drafts.
Development mode
Sites also have a development mode toggle. While it’s on, Cairn adds a cache-buster to every script URL so edits show up right away on any domain. It’s handy during a build-out, but leave it off the rest of the time so production stays fully cacheable.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cairn Script","description":"Cairn Script — Custom JS \u0026 CSS delivery for Webflow sites.","colors":{"primary":"#0C4A3D","light":"#1f8a72","dark":"#0C4A3D"},"logo":{"light":"https://mintcdn.com/goodcraft/sv0kEoYLauAJLKao/logo/light.svg?fit=max\u0026auto=format\u0026n=sv0kEoYLauAJLKao\u0026q=85\u0026s=5caa63c37c1a1f526887865ef59d5374","dark":"https://mintcdn.com/goodcraft/sv0kEoYLauAJLKao/logo/dark.svg?fit=max\u0026auto=format\u0026n=sv0kEoYLauAJLKao\u0026q=85\u0026s=3c251ec00a9bb3e2e715b670c9e68aee","href":"https://cairnscript.com"},"favicon":"https://mintcdn.com/goodcraft/sv0kEoYLauAJLKao/favicon.svg?fit=max\u0026auto=format\u0026n=sv0kEoYLauAJLKao\u0026q=85\u0026s=fb8c04c787c2386c274534576f00990d","background":{"color":{"light":"#FFFFFF","dark":"#1A1612"}},"navbar":{"links":[{"href":"https://cairnscript.com","label":"Marketing site"}],"primary":{"type":"button","label":"Open Cairn","href":"https://app.cairnscript.com"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Open the app","icon":"arrow-up-right-from-square","href":"https://app.cairnscript.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"goodcraft","hasAudioNarration":false,"actualSubdomain":"goodcraft","customDomains":["docs.cairnscript.com"],"gitSource":{"type":"github","owner":"goodcraft-io","repo":"cairn","deployBranch":"production","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"edits":false,"thumbs":true,"issues":false},"entitlements":{},"buildId":"6ae944b8de475e071fc63a8c:success","clientVersion":"0.0.4138","searchFilterCounts":[{"language":"default","tag":"Guides","count":14},{"language":"default","tag":"Essentials","count":4},{"language":"default","tag":"Delivery","count":3},{"language":"default","tag":"Library","count":3},{"language":"default","tag":"Getting started","count":2},{"language":"default","tag":"Workspaces","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"essentials/staging","slug":"/essentials/staging","pageMetadata":{"title":"Staging \u0026 production","description":"Test drafts on your webflow.io staging site before they reach the live domain.","href":"/essentials/staging"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Test drafts on your webflow.io staging site before they reach the live domain.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Cairn delivers different content depending on where the page is being viewed:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Production`}),`: your custom domain gets the last `,_jsx(_components.strong,{children:`published`}),` version of each script.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Staging`}),`: your `,_jsx(_components.code,{children:`*.webflow.io`}),` staging domain gets the latest `,_jsx(_components.strong,{children:`saved draft`}),`, with caching turned off so changes show up on the next reload.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`So the normal workflow is: save, reload the webflow.io site to test, and only `,_jsx(_components.strong,{children:`Publish`}),` when it works. Publishing is what moves the draft to your live domain. Nothing reaches production from a save alone.`]}),`\n`,_jsx(_components.p,{children:`The publish panel in the editor shows both destinations for the current site: the staging domain and the production domain, each with its last-published timestamp.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-cairn-detects-staging`,children:`How Cairn detects staging`}),`\n`,_jsx(_components.p,{children:`The loader request carries the page’s domain, and Cairn treats it as staging when it matches any of these:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`The site’s `,_jsx(_components.strong,{children:`webflow.io staging domain`}),` (picked up automatically from Webflow).`]}),`\n`,_jsxs(_components.li,{children:[`Any `,_jsx(_components.strong,{children:`custom staging domains`}),` you add in the site’s settings (comma-separated; subdomains match too).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Auto-detected staging hostnames`}),`, if auto-detection is on for the site: `,_jsx(_components.code,{children:`localhost`}),`, `,_jsx(_components.code,{children:`*.webflow.io`}),`, `,_jsx(_components.code,{children:`*.vercel.app`}),`, `,_jsx(_components.code,{children:`*.netlify.app`}),`, and hostnames containing `,_jsx(_components.code,{children:`-staging.`}),`, `,_jsx(_components.code,{children:`.staging.`}),`, `,_jsx(_components.code,{children:`.preview.`}),`, `,_jsx(_components.code,{children:`.test.`}),`, or `,_jsx(_components.code,{children:`.dev.`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`When Cairn can’t tell what the domain is, it defaults to production, which is the safer direction.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`If you serve a real production site on a domain that matches an auto-detect\npattern (say, a `,_jsx(_components.code,{children:`.dev`}),` TLD), add it as a Webflow custom domain or turn\nauto-detection off for that site so visitors don’t get drafts.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`development-mode`,children:`Development mode`}),`\n`,_jsxs(_components.p,{children:[`Sites also have a `,_jsx(_components.strong,{children:`development mode`}),` toggle. While it’s on, Cairn adds a cache-buster to every script URL so edits show up right away on any domain. It’s handy during a build-out, but leave it off the rest of the time so production stays fully cacheable.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Staging \u0026 production","description":"Test drafts on your webflow.io staging site before they reach the live domain.","href":"/essentials/staging"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How Cairn detects staging","slug":"how-cairn-detects-staging","depth":2,"children":[]},{"title":"Development mode","slug":"development-mode","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"goodcraft","siteName":"Cairn Script","title":"Staging \u0026 production - Cairn Script","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-06T00:34:57.099Z","originalFileLocation":"essentials/staging.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Test drafts on your webflow.io staging site before they reach the live domain.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cairn Script\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/goodcraft/QJc1_5HiqkFhPRcY/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/goodcraft/QJc1_5HiqkFhPRcY/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/goodcraft/QJc1_5HiqkFhPRcY/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/goodcraft/QJc1_5HiqkFhPRcY/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/goodcraft/QJc1_5HiqkFhPRcY/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/goodcraft/QJc1_5HiqkFhPRcY/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/goodcraft/QJc1_5HiqkFhPRcY/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/goodcraft/QJc1_5HiqkFhPRcY/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/goodcraft/QJc1_5HiqkFhPRcY/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Staging \u0026amp; production - Cairn Script\">\u003cmeta data-mint-head property=\"og:description\" content=\"Test drafts on your webflow.io staging site before they reach the live domain.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cairn Script\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cairnscript.com/essentials/staging\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://goodcraft.mintlify.site/_mintlify/api/og/v2?division=Delivery\u0026amp;title=Staging+%26+production\u0026amp;description=Test+drafts+on+your+webflow.io+staging+site+before+they+reach+the+live+domain.\u0026amp;theme=20da72d3d9c0acbe053087c3\u0026amp;signature=f2af3aa1de05cbbe380cdb1764ba45500b575b2dd371471c002e5e8eac78d2b3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Staging \u0026amp; production - Cairn Script\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Test drafts on your webflow.io staging site before they reach the live domain.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://goodcraft.mintlify.site/_mintlify/api/og/v2?division=Delivery\u0026amp;title=Staging+%26+production\u0026amp;description=Test+drafts+on+your+webflow.io+staging+site+before+they+reach+the+live+domain.\u0026amp;theme=20da72d3d9c0acbe053087c3\u0026amp;signature=f2af3aa1de05cbbe380cdb1764ba45500b575b2dd371471c002e5e8eac78d2b3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/goodcraft/QJc1_5HiqkFhPRcY/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cairn Script\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0C4A3D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cairnscript.com/essentials/staging\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/essentials/staging.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cairnscript.com/#organization\",\"name\":\"Cairn Script\",\"url\":\"https://docs.cairnscript.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/goodcraft/sv0kEoYLauAJLKao/logo/light.svg?fit=max\u0026auto=format\u0026n=sv0kEoYLauAJLKao\u0026q=85\u0026s=5caa63c37c1a1f526887865ef59d5374\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cairnscript.com#website\",\"name\":\"Cairn Script\",\"url\":\"https://docs.cairnscript.com\",\"publisher\":{\"@id\":\"https://docs.cairnscript.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cairnscript.com/essentials/staging#webpage\",\"url\":\"https://docs.cairnscript.com/essentials/staging\",\"name\":\"Staging \u0026 production\",\"description\":\"Test drafts on your webflow.io staging site before they reach the live domain.\",\"dateModified\":\"2026-07-06T00:34:57.099Z\",\"isPartOf\":{\"@id\":\"https://docs.cairnscript.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cairnscript.com/essentials/staging#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cairnscript.com/essentials/staging#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Delivery\",\"item\":\"https://docs.cairnscript.com/essentials/dependencies\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Staging \u0026 production\",\"item\":\"https://docs.cairnscript.com/essentials/staging\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cairnscript.com/essentials/staging#article\",\"headline\":\"Staging \u0026 production\",\"name\":\"Staging \u0026 production\",\"description\":\"Test drafts on your webflow.io staging site before they reach the live domain.\",\"url\":\"https://docs.cairnscript.com/essentials/staging\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cairnscript.com/essentials/staging#webpage\"},\"dateModified\":\"2026-07-06T00:34:57.099Z\",\"publisher\":{\"@id\":\"https://docs.cairnscript.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cairnscript.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cairn Script\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cairn Script\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/essentials/staging.md","siteName":"Cairn Script","nav":{"global":{"anchors":[{"anchor":"Open the app","icon":"arrow-up-right-from-square","href":"https://app.cairnscript.com"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"}]},{"group":"Essentials","pages":[{"title":"Install the loader","href":"/essentials/install-loader"},{"title":"Scripts","href":"/essentials/scripts"},{"title":"Scope \u0026 loading","href":"/essentials/scope"},{"title":"Versions","href":"/essentials/versions"}]},{"group":"Delivery","pages":[{"title":"Dependencies","href":"/essentials/dependencies"},{"title":"ES modules","description":"How Cairn decides between classic scripts and ES modules, and what changes when a script is a module.","href":"/essentials/modules"},{"title":"Staging \u0026 production","href":"/essentials/staging"}]},{"group":"Library","pages":[{"title":"Snippets","description":"Reusable single-purpose JS + CSS units.","href":"/library/snippets"},{"title":"Blocks","href":"/library/blocks"},{"title":"Kits","href":"/library/kits"}]},{"group":"Workspaces","pages":[{"title":"Teams","href":"/workspaces/teams"},{"title":"Billing","href":"/workspaces/billing"}]}]}]},"basePath":"","title":"Staging \u0026 production - Cairn Script","buildId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","deploymentId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","dynamics":[],"chunks":[]}