Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

document the PaaS Native CDN domain workflow and theme recompile - #2737

Open
Sandor Akszenovics (axasanya) wants to merge 2 commits into
shopware:mainfrom
axasanya:docs/paas-cdn-url-change
Open

Sandor Akszenovics (axasanya) wants to merge 2 commits into
shopware:mainfrom
axasanya:docs/paas-cdn-url-change

Conversation

@axasanya

Copy link
Copy Markdown
Contributor

Adding or changing a CDN domain has a built-in gap where the storefront renders unstyled. It is expected, it is unavoidable today, and until now nothing said so. A customer hit it twice on a live shop and had to ask to find out what to run.

This adds a CDN Domains section that sets the expectation and gives the actions:

  • a CDN domain is a separate type in sw-paas domain create, and only one per application
  • adding or changing one takes 10 to 15 minutes and includes its own deployment
  • check progress with sw-paas domain list, wait for RUNNING
  • the storefront will lose its styling at that point, so plan it outside peak hours
  • fix it with sw-paas exec --new and bin/console theme:compile

@shopware-dev-docs-connector

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Waiting for approval from someone with write access.
Repository: axasanya/docs
Commit: 41d482c
Preview: Not available until the healthcheck is approved and completes.

Fork PRs need approval from a maintainer with write access before the healthcheck can run. GitHub approves only the latest commit, so every new commit pushed after approval needs another approval.


The domain should now serve traffic through the Fastly CDN.

## CDN Domains

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add an optional step 7 and mention that on CDN domain update a theme recompile is required.
For instance:

## Step 7 Optional theme compile
If the domain newly created is `CDN`, once the status is `Running` you need to run the following command:

bin/console theme:compile


### Recompile the theme

::: warning

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add the warning on top of the page, to be sure it's something the user can't miss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants