Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Exclude unnecessary response headers Jul 22, 2019
.gitignore Add package scaffolding Jul 16, 2019
.prettierrc Add wrangler repo scaffolding Jul 16, 2019
README.md Extend readme Jul 16, 2019
index.js Add wrangler repo scaffolding Jul 16, 2019
package.json Add package scaffolding Jul 16, 2019
yarn.lock Add package scaffolding Jul 16, 2019

README.md

Speed Test

Worker for measuring download / upload connection speed from the client side, using the Performance Timing API.

index.js is the content of the Workers script.

Wrangler

You can use wrangler to generate a new Cloudflare Workers project based on this template by running the following command from your terminal:

wrangler generate myApp https://github.com/cloudflare/worker-speedtest-template

Before publishing your code you need to edit wrangler.toml file and add your Cloudflare account_id - more information about publishing your code can be found in the documentation.

Once you are ready, you can publish your code by running the following command:

wrangler publish

Serverless

To deploy using serverless add a serverless.yml file.

You can’t perform that action at this time.