2 Commits

Author SHA1 Message Date
1d4df45d98 Fix cache session isolation and timezone handling issues
- Refactor SQLiteCacheBackend to use session factory pattern instead of persistent session
- Fix timezone comparison errors in cache expiration checks
- Remove debug logging from server initialization
- Update README with cache hit ratio improvements

This resolves 0% cache hit issue caused by database session isolation between cache backend and API requests. Cache now properly retrieves entries with 20%+ hit ratio, saving significant API costs.
2025-11-15 10:07:25 -07:00
f46bdc978e Add Docker Compose with Caddy reverse proxy integration
- Multi-stage Dockerfile with development and production modes
- Docker Compose with caddy-docker-proxy labels for HTTPS
- Domain configuration: DOMAIN=rentcache.l.supported.systems
- Comprehensive Makefile with development and production targets
- Support for external caddy network and Redis backend
- Health checks and proper volume management
- Environment configuration with .env file

Usage:
- make setup  # Complete setup
- make dev    # Development with hot reload
- make prod   # Production deployment
- URL: https://rentcache.l.supported.systems
2025-09-09 20:13:37 -06:00