Install Semanto on Gcore
A FastEdge app on your CDN resource answers agents with your signed copy and fetches your origin for everything else.
Steps
- Download the package below and unzip it.
- In the gcore-fastedge folder, run npm install and then npm run build.
- In the Gcore panel, create a FastEdge application from dist/trooth-semanto.wasm with the variables TROOTH_ID (your Trooth ID) and ORIGIN_HOST (your origin's hostname).
- On your CDN resource, add a rule for /* that runs the app on request, then press Check my site in the dashboard.
Download
Download the Gcore package (zip, 18 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/ | headIf Trooth is slow or down, your site keeps answering: what the adapter does.