CCaskIndex
Product

Product features · Conditional HTTP cache requests

01

Return 304 for a matching validator on a GET request and send changed content normally. Check a missing header, a weak validator and a 304 response with no body using the project’s HTTP parser.

01

Connection

Base URL, credentials and a reachable server.

02

Selection

A model available through the configured endpoint.

03

Capabilities

Context limits and tool support are determined by the model and server.

Conditional HTTP cache requests

● ● ●CaskIndex●
A concrete starting point · Conditional HTTP cache requests ×
const unchanged = request.method === "GET" &&
  validatorMatches(request.headers.get("if-none-match"), etag);
return new Response(unchanged ? null : body, {
  status: unchanged ? 304 : 200,
  headers: { ETag: etag },
});
✳Return 304 for a matching validator on a GET request and send changed content normally.
✓ ChangesReview before applying ↗
Illustrative workspace
AI coding workspace

Your next change starts here.

Get the Windows app ↗