Skip to main content
On this page

Install Semanto on Fastly

View as Markdown

A Compute service in front of your site answers agents with your signed copy and sends every other request to your origin.

Steps

  1. Download the package below and unzip it.
  2. In the fastly-compute folder, run npm install and then fastly compute publish.
  3. When asked, enter your website's hostname for the origin backend, leave api.trooth.co for the trooth_api backend, and enter your Trooth ID for TROOTH_ID.
  4. Point your domain at the new service, then press Check my site in the dashboard.

Download

Download the Fastly package (zip, 19 KB). It holds the files the steps name.

Check it works

From any terminal. The answer should be markdown with Signature and Trooth-Semanto-Version headers.

curl -s -H "Accept: text/markdown" https://example.com/ | head

If Trooth is slow or down, your site keeps answering: what the adapter does.

All install guides

Was this page helpful?

View as agent