markusahlstrand / cloudworker-proxy

An api gateway for cloudflare workers
MIT License
194 stars 22 forks source link

Add a genric cache handler #68

Closed markusahlstrand closed 4 years ago

markusahlstrand commented 4 years ago

Instead of adding caching functionality to each handler it would be pretty neat to have a separate cache handler that adds the response to the cache with a default cache time.

markusahlstrand commented 4 years ago

Fixed by #69