caje is a caching reverse proxy developed live on stream by me, coreyja
You can find a YouTube playlist containing all the previous streams at https://www.youtube.com/playlist?list=PL0FtqJaYsqZ2v0FezJa15ynwBpo7KE8Xa And you can catch my live streams on my Twitch at https://twitch.tv/coreyja
caje is a reverse proxy CDN. It sits in between the potentially slow origin server, and the users. It caches the responses from the origin server, and serves them to the users. caje respects CacheControl headers and only caches requests that contain caching headers.
caje plays middleman for all requests to the origin server, including those that are not cached. You point the DNS for your domain to caje, and caje will forward the requests to the origin server.
caje is designed to be run in multiple regions around the world. When one node gets a request for a resource, it saves this information to a manifest that is shared between all nodes.
Currently there is an admin endpoint at _caje/populate
that looks at this manifest and caches locally any files that are known to other nodes but not saved locally. In this way we can make sure all the nodes have all the cached content, so that requests from any region can be fast. In the future this functionality will be moved to a background process that runs periodically, so the admin endpoint is no longer needed.
Hacking the Cache: Level Up Your Admin Dashboard Security with Rust! | Live Coding
2023-11-27
Exploring Rust: Creating and Debugging a CDN - Caje Part 7 | Coreyja live coding
2023-10-16
`caje` CDN Caching Proxy Overview with Corey #rustprogramming #programming #stream #cdn
2023-10-02
Exploring Filesystem Locks in Rust - CDN Project Continues Part 6
2023-10-02
Problem Solving with Rust: `caje` CDN Cacheing Project | Part 5
2023-09-24
Deploying a Rust CDN with LiteFS | Distributed SQLite Across Regions
2023-09-07
Building a Caching CDN in Rust: Part 3 | Exploring Advanced Features
2023-09-03
Exploring Advanced Rust: Building a CDN - Part 2 | Live Coding with Coreyja
2023-08-31
Exploring Rust: Crafting a CDN from Scratch - Part 1 | Live Coding Session
2023-08-20
My weekly newsletter tailored at developers who are eager to grow with me!
Every week will be unique, but expect topics focusing around Web Development and Rust