Questions tagged [google-cloud-cdn]

This tag should be used for questions regarding Google Cloud CDN, part of Google Cloud Platform.

This tag should be used for questions regarding Google Cloud CDN, part of Google Cloud Platform.

154 questions
4
votes
1 answer

Google cloud storage returning older data

How is this possible? That for the same file, the Date/Expires/Last-Modified headers are so dramatically different. Even though this filed was modified today (Apr 8), it randomly returns Apr 7 and after that Apr 3rd or 4th! curl -I…
4
votes
2 answers

How to use Google Cloud CDN to access Google Cloud Storage public objects

I have some public binary files that are served from Google Cloud Storage(GCS) and would like to explore usage of Google Cloud CDN for lower latencies. I am using GCS caching by setting appropriate HTTP headers when creating GCS objects. Is it…
4
votes
3 answers

Using google cloud storage as origin for cloud CDN

Newbie question: I want to use a cloud storage bucket as the origin for cloud cdn. Not sure if this is possible. Currently I have the CDN turned on for the load balancer but my understanding is that it will only cache content that is coming from my…
3
votes
1 answer

How can i create a media CDN origin? I have some error

i'm trying to use Google Media CDN and i start using example at: https://codelabs.developers.google.com/mediacdn-ls-codelab#10 I've created a google bucket with public access and after: gcloud edge-cache origins create cme-origin…
3
votes
1 answer

(GCP Cloud CDN) bucket http works but https doesn't

I have set up a CDN by following this document: https://cloud.google.com/cdn/docs/setting-up-cdn-with-bucket http (with port 80) https (with port 443) with a google-managed certificate example.com is pointing to the load balancer's ip adress…
Dokook Choe
  • 266
  • 2
  • 9
3
votes
2 answers

How can I invalidate Google Cloud CDN cache from my express server?

Is there a way to invalidate / clear cached content on Cloud CDN from my express server? For example, if I'm generating server rendered content to make it readily available and I update a specific route from my website, like editing a blogPost, for…
cbdeveloper
  • 27,898
  • 37
  • 155
  • 336
3
votes
1 answer

Cloudflare CDN for Google Cloud Storage Bucket

I have a custom domain (cdnexample.com) and a Firebase Google Cloud Storage Bucket (examplefiles.appspot.com). I want to configure cdnexample.com domain in Cloudflare CDN to source from GCS bucket (examplefiles.appspot.com). For example, given a GCS…
3
votes
1 answer

Create a CDN proxy in Google Cloud for Segment analytics

I want to create a cdn proxy to send analytic events through a custom domain as detailed here: https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/custom-proxy/ However, in their tutorial they use Amazon CloudFront.…
Alex Fox
  • 1,175
  • 2
  • 15
  • 27
3
votes
1 answer

Can I implement Firebase authorization for Google Cloud CDN URL?

I have a Firebase project where authenticated users can upload photos to storage bucket. I have my Google Cloud CDN setup properly to the storage bucket. Obviously the bucket contents are available to the world now. How may I use Firebase…
3
votes
2 answers

How to configure django to generate signed urls for media files with Google Cloud CDN?

I am working on a project that requires load media files from Google Cloud CDN. Currently, I am loading the files in the form of urls - cdn.mydomain.com/image.jpg . But this requires to provide public access to the object. I need to generate signed…
alamshafi2263
  • 639
  • 4
  • 15
3
votes
3 answers

Google Cloud CDN started ignoring query strings for storage buckets

Some months ago activated Cloud CDN for storage buckets. Our storage data is regularly changed via a backend. So to invalidate the cached version we added a query param with the changedDate to the url that is served to the client. Back then this…
3
votes
1 answer

How to set TCP based Load Balancer as origin to Cloud CDN?

When adding origin to Cloud CDN, only HTTP(S) Load Balancer appears in the options. While the TCP/UDP Load Balancer doesn't. Is it possible to set TCP/UDP Load Balancer as origin to Google Cloud CDN? How? In my case, I really need TCP/UDP origin…
3
votes
2 answers

How to serve Kubernetes backend and Firebase hosting frontend from the same domain name?

I want to setup web app using three components that i already have: Domain name registered on domains.google.com Frontend web app hosted on Firebase Hosting and served from example.com Backend on Kubernetes cluster behind Load Balancer with…
2
votes
2 answers

How does GCP Cloud CDN implement primary and backup origin servers?

I want to set up two backends in the same load balancing on GCP, and route traffic to the second backend only after the first backend fails. I tried the following configuration for testing: we set up two backends in the backend service configuration…
Duojie
  • 23
  • 4
2
votes
2 answers

Google Cloud : How to connect the google cloud storage to cloud CDN without making the bucket public?

I'm configuring Google Cloud CDN with Google Cloud Storage following article : https://cloud.google.com/cdn/docs/setting-up-cdn-with-bucket#make_your_bucket_public In my experience for AWS, S3 Bucket can allow read permission only for its CDN…
1
2
3
10 11