Skip to content

Commit

Permalink
chore(docs): Update unified hosting and slice api docs for cloud (#37265
Browse files Browse the repository at this point in the history
)
  • Loading branch information
imjoshin committed Dec 15, 2022
1 parent caa252d commit a3b55d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
6 changes: 1 addition & 5 deletions docs/docs/how-to/cloud/slices-optimization.md
Expand Up @@ -7,10 +7,6 @@ description: "Learn how to optimize your Slices on Gatsby Cloud"

## Cloud Optimizations

When using Slices, Gatsby Cloud can optimize your builds even further. You can take advantage of these optimzations by enabling the checkbox in your Build Features settings.

![Slices API toggle in Gatsby Cloud](../../images/slices-api-optimization.png)
When using Slices, Gatsby Cloud can optimize your builds even further. These optimizations are enabled by default for all Enterprise tier sites.

By knowing which pieces of your site to build and host, Gatsby Cloud can increase build times on Slice changes by up to 90%.

These optimizations for Slices requires [Unified Hosting](/docs/how-to/cloud/unified-hosting).
16 changes: 6 additions & 10 deletions docs/docs/how-to/cloud/unified-hosting.md
Expand Up @@ -3,7 +3,7 @@ title: "Unified Hosting"
description: "Learn about Unified Hosting and the benefits of it in Gatsby Cloud"
---

Unified Hosting (as signalled by a `gatsbyjs.io` domain) is enabled by default on production builds. Starting November 17, 2022, Unified Hosting will be enabled for all builds in a gradual rollout, and will be finished on November 24, 2022.
Unified Hosting (as signalled by a `gatsbyjs.io` domain) is enabled by default for all builds.

## Benefits

Expand All @@ -20,19 +20,19 @@ Unified Hosting on Gatsby Cloud provides several benefits to your site:

### What is the reason?

Unified Hosting is the current infrastructure for Production builds. This brings all of the [benefits](#benefits) above to all builds (including Pull Request and Preview builds). Gatsby is "unifying" all infrastructure to this faster, more modern architecture.
Unified Hosting was the current infrastructure for only Production builds. Now, this brings all of the [benefits](#benefits) above to all builds (including Pull Request and Preview builds). Gatsby has "unified" all infrastructure to this faster, more modern architecture.

### What is the impact?

The major change that will occur when Unified Hosting is deployed is a difference in individual build URLs. Previously, these builds were deployed to a `gtsb.io` domain. After this rollout, all builds will be deployed to a `gatsbyjs.io` domain.
The major change that you will see now is a difference in individual build URLs. Previously, these builds were deployed to a `gtsb.io` domain. Today, all builds will be deployed to a `gatsbyjs.io` domain.

### Will old `gtsb.io` URLs continue to work?

Yes, any builds deployed before this rollout will continue to work on the `gtsb.io` domain.
Yes, any builds deployed before Unified Hosting's rollout will continue to work on the `gtsb.io` domain.

### What will new URLs look like?
### What do the new URLs look like?

The new URLs will be the same format, but hosted on a subdomain of `gatsbyjs.io` (as opposed to `gtsb.io`).
All new URLs will be the same format, but hosted on a subdomain of `gatsbyjs.io` (as opposed to `gtsb.io`).

| | Old | New |
| ------------ | ------------------------------ | ---------------------------------- |
Expand All @@ -43,7 +43,3 @@ The new URLs will be the same format, but hosted on a subdomain of `gatsbyjs.io`
### Are URLs deterministic?

URLs are deterministic besides the UUID generated for a given build. For example, the glob pattern for a Pull Request build would be `build-*.gatsbyjs.io`.

### When will Unified Hosting be live on my site?

Unified Hosting will begin rolling out for all builds on November 17, 2022. Sites on a Free plan will receive unified hosting first, followed by Professional, and then Enterprise. All sites are anticipated to have Unified Hosting on November 24, 2022.
Binary file removed docs/docs/images/slices-api-optimization.png
Binary file not shown.

0 comments on commit a3b55d6

Please sign in to comment.