Skip to content

Add Response Caching Support #30

Description

@jordanpartridge

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:

  1. Add cache config
  2. Create CacheMiddleware
  3. Add cache key generation
  4. Add cache invalidation on writes
  5. Add tests

Focus on GET requests first for simplicity.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions