developer-delphi-horse-etag
CommunityCache-ready ETag middleware for Horse.
Authorcslsoftwares
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This middleware enables conditional HTTP caching by automatically computing and applying ETag headers to responses in Horse, ensuring that clients can validate cached data and avoid unnecessary transfers.
Core Features & Use Cases
- ETag computation: computes a hash of the response body and attaches an ETag header.
- Not Modified support: returns 304 Not Modified when the client sends a matching If-None-Match.
- Pipeline integration: designed to be placed after JSON serialization in the THorse pipeline, and supports Vary headers for nuanced cache invalidation.
Quick Start
Add the ETag middleware to your THorse app after the serialization step to enable conditional responses.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: developer-delphi-horse-etag Download link: https://github.com/cslsoftwares/ParamentersORM/archive/main.zip#developer-delphi-horse-etag Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.