wood chen c4cd99a827 feat(cache): Implement comprehensive caching system for proxy requests
- Add CacheManager to handle caching for proxy and mirror handlers
- Introduce cache-related API endpoints for stats, enabling, and clearing
- Modify proxy and mirror handlers to support caching GET requests
- Remove rate limiting and simplify request handling
- Update go.mod dependencies and remove unused imports
- Add cache hit/miss headers to responses
- Enhance metrics collection for cached requests
2025-02-15 17:00:16 +08:00
2024-10-31 00:39:12 +08:00
2025-02-15 12:10:41 +08:00

Proxy-Go

A 'simple' reverse proxy server written in Go.

使用方法: https://q58.club/t/topic/165?u=wood

图片

仪表统计盘

image

配置可在线修改并热重载

image

说明

  1. 支持gzip和brotli压缩, 在config.json中配置
  2. 不同路径代理不同站点
  3. 回源Host修改
  4. 大文件使用流式传输, 小文件直接提供
  5. 可以按照文件后缀名代理不同站点, 方便图片处理等
  6. 适配Cloudflare Images的图片自适应功能, 透传Accept头, 支持format=auto
  7. 支持网页端监控和管理
Description
go+nextjs+shadcn. 不同路径代理不同源的代理服务. 支持压缩, cdnjs等类似站点的代理, 大文件流式传输, 适配Cloudflare Images代理
Readme MIT 1.2 MiB
Languages
Go 51%
TypeScript 47.1%
CSS 1.4%
JavaScript 0.4%
Dockerfile 0.1%