imjasonh/gcping

Cloud CDN

Opened this issue · 3 comments

Might be as simple as adding Cache-Control: max-age=0 on pong responses? The backend-service is already configured with --enable-cdn

You can also use gcloud beta compute backend-service update $NAME --cache-mode=FORCE_CACHE_ALL to forcibly cache the responses (as of gcloud SDK 309.0.x).

You can also use gcloud beta compute backend-service update $NAME --cache-mode=FORCE_CACHE_ALL to forcibly cache the responses (as of gcloud SDK 309.0.x).

Is that going to force the browser to cache the response and result in vacuously fast response times after the first one?