Hey r/golang! I’m excited to share the latest major update to the httpcache library, a fork of the archived gregjones/httpcache project. Version 1.3.0 brings a ton of new features, backends, and improvements while maintaining full backward compatibility.
What’s New in v1.3.0
New Caching Backends
MongoDB Backend: Full MongoDB integration with connection pooling
Hazelcast Backend: Distributed caching with Hazelcast IMDG
NATS KV Backend: Lightweight caching using NATS JetStream Key-Value store
PostgreSQL Backend: Robust PostgreSQL-based caching with benchmarks
FreeCache Backend: High-performance in-memory caching with FreeCache
Enhanced Features
Compression Wrapper: Gzip, Brotli, and Snappy comp…
Hey r/golang! I’m excited to share the latest major update to the httpcache library, a fork of the archived gregjones/httpcache project. Version 1.3.0 brings a ton of new features, backends, and improvements while maintaining full backward compatibility.
What’s New in v1.3.0
New Caching Backends
MongoDB Backend: Full MongoDB integration with connection pooling
Hazelcast Backend: Distributed caching with Hazelcast IMDG
NATS KV Backend: Lightweight caching using NATS JetStream Key-Value store
PostgreSQL Backend: Robust PostgreSQL-based caching with benchmarks
FreeCache Backend: High-performance in-memory caching with FreeCache
Enhanced Features
Compression Wrapper: Gzip, Brotli, and Snappy compression support for cached responses
MultiCache Wrapper: Multi-tier caching strategies combining multiple backends
SecureCache Improvements: AES-256-GCM encryption with dynamic nonce sizes
Prometheus Metrics: Comprehensive monitoring and metrics collection
Redis Enhancements: Connection pooling and advanced configuration options
Developer Experience
Comprehensive Documentation: Updated docs with examples for all new backends
Integration Tests: Added tests for Prometheus metrics and various backends
CI Improvements: Optimized workflows and dependency updates
Logo and Branding: Added visual identity to the project
Technical Details
Go Version: Updated to 1.25 in CI
Dependencies: Updated AWS SDK and related packages
Code Quality: Removed deprecated build constraints, improved linting
Migration Guide
This update is fully backward compatible. No breaking changes - just new features to explore!
What caching backend are you most excited about? Let me know in the comments!