Cache Control Plugin - no more manually setting HTTP headers #1224
johnny-woodtke
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 Introducing elysiajs-cdn-cache: Type-Safe CDN Caching Made Simple!
Hey Elysia community! 👋
I'm excited to share a new plugin that solves one of the most tedious parts of building performant APIs: managing Cache-Control headers.
🎯 What is elysiajs-cdn-cache?
A TypeScript-first CDN caching plugin that provides a fluent, chainable API for managing cache directives. No more manually crafting cache header strings or worrying about typos!
🔥 Why You'll Love It
🌐 See It In Action
Live Demo: https://elysiajs-cdn-cache.vercel.app/
Try these endpoints to see different caching strategies:
Open DevTools → Network tab and check the
Cache-Control
headers! 🔍💡 Perfect For
📦 Get Started
Docs & Examples: https://github.com/johnny-woodtke/elysiajs-cdn-cache
What do you think? Have you been manually setting cache headers? Would love to hear your thoughts and use cases!
Beta Was this translation helpful? Give feedback.
All reactions