mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 16:41:54 +08:00
- 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
11 lines
151 B
Modula-2
11 lines
151 B
Modula-2
module proxy-go
|
|
|
|
go 1.23.1
|
|
|
|
require (
|
|
github.com/andybalholm/brotli v1.1.1
|
|
golang.org/x/net v0.35.0
|
|
)
|
|
|
|
require golang.org/x/text v0.22.0 // indirect
|