Skip to content

Commit c62663f

Browse files
committed
DEVLIB-1233: Rename Compute@Edge to Compute
1 parent fd8c83f commit c62663f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
[![Deploy to Fastly](https://deploy.edgecompute.app/button)](https://deploy.edgecompute.app/deploy)
44

5-
Speed up your websites with a Compute@Edge environment that demonstrates serving content from a static bucket, redirects, security and performance headers, and a 404 page.
5+
Speed up your websites with a Fastly Compute environment that demonstrates serving content from a static bucket, redirects, security and performance headers, and a 404 page.
66

7-
**For more details about this and other starter kits for Compute@Edge, see the [Fastly developer hub](https://developer.fastly.com/solutions/starters)**
7+
**For more details about this and other starter kits for Compute, see the [Fastly developer hub](https://developer.fastly.com/solutions/starters)**
88

99
## Features
1010

@@ -59,7 +59,7 @@ If your bucket requires authentication, you will need to create an [edge diction
5959

6060
This starter is feature-packed, and requires some extra dependencies on top of the [`fastly`](https://docs.rs/fastly) crate to handle signing requests for S3/GCS. If you are using a public bucket for your origin, these dependencies will not be included.
6161

62-
This starter includes implementations of common patterns explained in our [using Compute@Edge](/learning/compute/rust/) and [VCL migration](/learning/compute/migrate/) guides. Any of the code you see here can be modified or built upon to suit your project's needs.
62+
This starter includes implementations of common patterns explained in our [using Compute](/learning/compute/rust/) and [VCL migration](/learning/compute/migrate/) guides. Any of the code you see here can be modified or built upon to suit your project's needs.
6363

6464
To learn more about how Fastly communicates with your bucket host, read the [Integrating third party services as backends](https://developer.fastly.com/learning/integrations/backends/) guide. This is based on a VCL service, but you can utilise many of the same patterns with the help of the [VCL migration](/learning/compute/migrate/) guide.
6565

fastly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file describes a Fastly Compute@Edge package. To learn more visit:
1+
# This file describes a Fastly Compute package. To learn more visit:
22
# https://developer.fastly.com/reference/fastly-toml/
33

44
authors = ["<[email protected]>"]

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Compute@Edge static content starter kit program.
1+
//! Compute static content starter kit program.
22
33
mod config;
44

@@ -72,7 +72,7 @@ fn main(mut req: Request) -> Result<Response, Error> {
7272
// Assign the path to a variable to be used later.
7373
let original_path = req.get_path().to_owned();
7474

75-
// Set the `Host` header to the bucket host rather than our C@E endpoint.
75+
// Set the `Host` header to the bucket host rather than our Compute endpoint.
7676
req.set_header(
7777
header::HOST,
7878
format!("{}.{}", config::BUCKET_NAME, config::BUCKET_HOST),
@@ -162,7 +162,7 @@ fn main(mut req: Request) -> Result<Response, Error> {
162162

163163
// Compress assets.
164164
if original_path.starts_with("/assets/") {
165-
// C@E services currently run behind h2o (https://github.com/h2o/h2o)
165+
// Compute services currently run behind h2o (https://github.com/h2o/h2o)
166166
// This header will enable compression on the downstream message in h2o
167167
beresp.set_header("X-Compress-Hint", "on");
168168
}

0 commit comments

Comments
 (0)