Skip to content

CacheMe is a lightweight, high-performance HTTP proxy with built-in content caching and partial content (HTTP Range) support. Designed for easy deployment, efficient static file delivery, and CDN-style acceleration.

License

Notifications You must be signed in to change notification settings

oswaldoooo/cacheMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CacheMe

CacheMe 是一个用 Rust 构建的高性能、可缓存的 HTTP 代理服务器,基于 Tokio 异步运行时,专为边缘缓存、静态文件分发与开发调试场景设计。

build language license


✨ 特性

  • 🚀 基于 Tokio 实现的全异步 HTTP 代理
  • 🧠 支持 HTTP Range 请求,自动限速读取
  • 🧊 本地磁盘缓存静态内容
  • 🔁 配置简单,秒级部署
  • ♻️ 自动定时垃圾回收(GC)

🔧 配置方式

你只需要一个 JSON 文件即可启动服务:

示例 config.json

{
  "http_bind": "0.0.0.0:11345",
  "temp_dir": "./tmp/",
  "gc_interval": "100m",
  "cache_zone": [
    {
      "generic": "cache_zone0"
    }
  ],
  "sled": {
    "path": "./metadata"
  }
}

About

CacheMe is a lightweight, high-performance HTTP proxy with built-in content caching and partial content (HTTP Range) support. Designed for easy deployment, efficient static file delivery, and CDN-style acceleration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages