You can now define a set of request headers that will cause GraphCDN to bypass the cache and pass the request on to your origin. Any request you send that includes one of those headers (e.g. a
x-preview-tokenheader with any value) will not be cached.
You will see a new option called
Bypass Headersin the cache configuration on your service dashboard.
However, you can also specify those headers via the
graphcdn.ymlin a new
- name: x-preview-token
- name: some-other-token
Common use cases for this feature are preview modes for e.g. a headless CMS or specific queries where you always want to get the latest data.
See https://docs.graphcdn.io/docs/bypass-headers for our documentation of this feature.