splitbee / notion-api-worker

Notion as CMS with easy API access
MIT License
1.56k stars 197 forks source link

Feature request: honor no-cache directives #11

Closed transitive-bullshit closed 4 years ago

transitive-bullshit commented 4 years ago

The current implementation doesn't respect no-cache directives which makes debugging more difficult.

Specifically, we should disable caching if we encounter: pragma: no-cache, cache-control: no-store, or cache-control: no-cache directives.