AppEngine Edge Bypass Cache

I am using the AppEngine Standard project with some CloudFlare custom rules to cache some API endpoints using a custom edge cache cache.

When the data about these endpoints changes, I use the CloudFlare API to clear the CloudFlare Edge cache for these URLs, but this cannot be achieved using the AppEngine Edge Cache, which is automatically turned on when a header like this is found in the answer and it cannot be cleaned:

Cache-Control: public, maxage=TTL

Cache-Control: public, s-maxage=TTL

Is there a way to disable or bypass AppEngine cache for specific URLs, even if they responded with a header Cache-Control?

Another solution would be to use special cache headers for CloudFlare, but as far as I know, it only recognizes standard directives maxageand s-maxageCache-control ( https://support.cloudflare.com/hc/en-us/articles/202775670-How-Do -I-Tell-Cloudflare-What-to-Cache- )

I made this diagram to help clarify my question: enter image description here

+4
source share

Source: https://habr.com/ru/post/1680968/


All Articles