Jimmy Chen

Results 7 comments of Jimmy Chen

I ran into the same problem, I think the repo needs some updating as there are some functionality being mentioned in the readme/docs that don't work...

@vicchi Hey thanks for reaching out. It seems like the custom cache_status_header is working in my code but the status of it is still always giving me MISS instead of...

> @MJimmyChen It's hard to tell exactly as `protected_router` isn't shown in your code sample but are you sure you're actually using a Redis instance? Your code defines `redis_connection` as...

This is my used setup: Python: 3.12.4 fastapi-cache2: 0.2.2 docker-compose.yml: ``` services: redis-stack: image: redis/redis-stack:latest container_name: redis-stack-name environment: - REDIS_ARGS=--requirepass password_here --appendonly yes ports: - "6379:6379" - "8001:8001" volumes: -...

@vicchi thanks for providing the example. I decided to take a different approach and use postman to test the responses instead of the FastAPI Swagger UI (/docs) and found out...

> @MJimmyChen Glad to hear you've got it all sorted; I'll close this issue now but feel free to reopen if you run into any more problems. Maybe we'll need...

@nagarjuna06 @rseeley I assume you are trying this solely through the Swagger UI and haven't tried looking into Redis Insight with caching it via directly calling the endpoint or through...