Skip to content

Commit 4234a11

Browse files
committed
DEVLIB-1233, DEVLIB-1234: Rename Compute@Edge to Compute
1 parent fa0ce11 commit 4234a11

File tree

5 files changed

+15
-17
lines changed

5 files changed

+15
-17
lines changed

README.md

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

33
Park website visitors in a virtual queue to reduce the demand on your origins during peak times.
44

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

77
[![A screenshot of the queue page for a ticketing website. It reads: Sometimes we have to restrict the number of people who can access our website at the same time, so that everything works properly. There are 46 people ahead of you in the queue.](screenshot.png)](https://queue-demo.edgecompute.app/index.html)
88

@@ -16,7 +16,7 @@ Park website visitors in a virtual queue to reduce the demand on your origins du
1616
## Getting started
1717

1818
1. If you haven't already, [sign up for Upstash](https://www.npmjs.com/package/@upstash/redis) and create a Redis service.
19-
2. Initialize a Compute@Edge project using this starter kit.
19+
2. Initialize a Compute project using this starter kit.
2020
```sh
2121
fastly compute init --from=https://github.com/fastly/compute-starter-kit-javascript-queue
2222
```
@@ -34,7 +34,7 @@ This starter is fully-featured, and requires some dependencies on top of the [`@
3434

3535
The starter will require a backend to be configured to send requests to once visitors have made it through the queue. For demonstration, the default is a public S3 bucket with some assets and an index page.
3636

37-
The template uses webpack to bundle `index.js` and its imports into a single JS file, `bin/index.js`, which is then wrapped into a `.wasm` file, `bin/index.wasm` using the `js-compute-runtime` CLI tool bundled with the `@fastly/js-compute` npm package, and bundled into a `.tar.gz` file ready for deployment to Compute@Edge.
37+
The template uses webpack to bundle `index.js` and its imports into a single JS file, `bin/index.js`, which is then wrapped into a `.wasm` file, `bin/index.wasm` using the `js-compute-runtime` CLI tool bundled with the `@fastly/js-compute` npm package, and bundled into a `.tar.gz` file ready for deployment to Compute.
3838

3939
## Design
4040

npm-shrinkwrap.json

Lines changed: 6 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"url": "https://github.com/fastly/compute-starter-kit-javascript-queue/issues"
55
},
66
"dependencies": {
7-
"@fastly/js-compute": "^3.0.0",
8-
"@upstash/redis": "^1.19.3",
7+
"@fastly/js-compute": "^3.7.0",
8+
"@upstash/redis": "^1.23.4",
99
"jws": "^4.0.0"
1010
},
1111
"devDependencies": {
1212
"buffer": "^6.0.3",
1313
"node-polyfill-webpack-plugin": "^2.0.1",
14-
"webpack": "^5.76.2",
15-
"webpack-cli": "^5.0.1"
14+
"webpack": "^5.89.0",
15+
"webpack-cli": "^5.1.4"
1616
},
1717
"engines": {
1818
"node": "^18.0.0"

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Compute@Edge queuing starter kit.
1+
//! Compute queuing starter kit.
22

33
/// <reference types="@fastly/js-compute" />
44

src/static/demo-manifest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ On subsequent requests, when a JWT is supplied, we verify the signature and extr
3434
This demo is available as a [starter kit](https://developer.fastly.com/solutions/starters/compute-javascript-queue) and requires you to sign up to a third-party Redis provider, [Upstash](https://upstash.com), unless you'd like to set up your own, in which case you can swap out Upstash for your own HTTP API in the [`store.js`](https://github.com/fastly/compute-starter-kit-javascript-queue/blob/main/src/store.js)
3535
3636
1. If you haven't already, [sign up for a free Upstash account](https://console.upstash.com) and create a Redis service.
37-
2. Initialize a Compute@Edge project using the starter kit.
37+
2. Initialize a Compute project using the starter kit.
3838
```sh
3939
fastly compute init --from=https://github.com/fastly/compute-starter-kit-javascript-queue
4040
```

0 commit comments

Comments
 (0)