Anyone Deployed CDN for a frontend service deployed in GKE and protected with Cloud IAP?
Best answer by yuval
View originalAnyone Deployed CDN for a frontend service deployed in GKE and protected with Cloud IAP?
Best answer by yuval
View originalHey there,
Interesting. I’d like to know more about it too.
Thoughts?
Hello
Can you provide more context? Who are the users and what type of data to you want to cache?
IAP best practices document mentions caching[1]:
- Don't use a third-party CDN in front of your application. CDNs may cache content and serve cached pages to unauthenticated users.
- If you have large, non-sensitive resources that you want to serve from a CDN, use a separate domain such as
images.yourapp.com
for these resources. Use the CDN with that domain and add theCache-control: private
HTTP response header to all objects that should only be served to authenticated users.
[1] https://cloud.google.com/iap/docs/concepts-best-practices#caching
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.