http-cache
CommunitySmart HTTP caching for offline & speed
Software Engineering#performance#networking#http caching#api client#offline support#stale-while-revalidate
Authorrshankras
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the need for efficient data handling in applications by implementing a robust HTTP caching layer, reducing API calls, improving performance, and enabling offline support.
Core Features & Use Cases
- Response Caching: Stores API responses locally to serve them quickly on subsequent requests.
- Cache-Control Parsing: Respects server-defined caching policies (
max-age,no-cache, etc.). - Conditional Requests: Uses
ETagandLast-Modifiedheaders to revalidate cached data efficiently. - Stale-While-Revalidate: Serves stale data immediately while refreshing in the background for a smoother user experience.
- Offline Fallback: Provides cached data even when the network is unavailable.
- Use Case: Integrate this skill into your app's networking layer to automatically cache product catalog data, significantly speeding up load times and allowing users to browse even with a spotty connection.
Quick Start
Add an HTTP caching layer to my project that respects server Cache-Control headers and supports offline fallback.
Dependency Matrix
Required Modules
None requiredComponents
referencesscripts
💻 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: http-cache Download link: https://github.com/rshankras/claude-code-apple-skills/archive/main.zip#http-cache 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.