Implement basic response caching using Laravel's cache:
// In config/github-client.php
'cache' => [
'enabled' => true,
'ttl' => 3600, // seconds
'store' => 'redis', // Use specific cache store
],
Implementation:
- Add cache config
- Create CacheMiddleware
- Add cache key generation
- Add cache invalidation on writes
- Add tests
Focus on GET requests first for simplicity.
Implement basic response caching using Laravel's cache:
Implementation:
Focus on GET requests first for simplicity.