/license.xml via your domain, and enforcing the Crawler Authentication Protocol (CAP) to protect content from unlicensed crawlers.
RSL License Deployment
Your RSL license needs to be accessible athttps://yourdomain.com/license.xml. Fastly proxies this path to the Supertab Connect origin, keeping the URL on your domain.
The configuration differs slightly between VCL and Compute services.
VCL Service
Add a backend pointing to the Supertab Connect origin, attach it to a condition that matches the license URL, and add a VCL snippet that rewrites the short path to the full URN path. Backend Add a new host with the following configuration:supertab-connect-backend:
recv snippet at priority 100:
api-connect.supertab.co.
Activate the new version once the backend, condition, and snippet are in place.
Compute (Wasm) Service
For Compute services, add a backend namedsupertab-connect-backend pointing to api-connect.supertab.co:443 with TLS enabled. The SDK handles URL rewriting and routing internally when enableRSL: true is set — no VCL condition or snippet is needed.
CAP Enforcement
CAP validates theAuthorization: License <token> header on crawler requests, verifying that the crawler holds a valid license before allowing access to protected content.
Depending on your existing infrastructure, choose one of two integration patterns.
| Approach | Description | Best for |
|---|---|---|
| Compute-native | All traffic enters a Fastly Compute service; the SDK handles detection, validation, and origin routing. | Greenfield projects or full Compute migrations. |
| Service chaining (VCL → Compute) | Your existing VCL service detects the Authorization: License header and chains licensed requests to a Compute service for validation. | Existing VCL architectures. |
Approach 1: Compute-native
ThefastlyHandleRequests method manages the full request lifecycle. Use a Fastly SecretStore for the API key.
Enforcement modes
Bot detection
By default the SDK identifies known crawlers by their user agent. Pass abotDetector function to extend or override this logic.
Manual verification
For fine-grained control, useverifyAndRecord() directly instead of fastlyHandleRequests.
Approach 2: Service Chaining (VCL → Compute)
Your main VCL service detects theAuthorization: License header and routes those requests to a dedicated Compute service running the SDK. All other traffic is handled by your existing VCL logic.
VCL service — vcl_recv