StephenMiracle / frankenwp

MIT License
117 stars 11 forks source link

Creating a response codes rule for caching #14

Closed StephenMiracle closed 4 months ago

StephenMiracle commented 4 months ago

This resolves #12 .

Adds new logic to tell sidekick which HTTP response codes to cache.

Defaults to 200, 404, & 405.

Configure in Caddyfile and reads from CACHE_RESPONSE_CODES environment variable.