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
2
votes
0 answers

(GCP Cloud CDN) cacheable content not getting cached when accessed on Chrome or Firefox

I have set up a GCP Cloud CDN with a backend bucket. My problem is sometimes cacheable contents are not getting cached. For example, when I open an image in the bucket on Firefox or Chrome with the following in the response the image doesn't get…
Dokook Choe
  • 266
  • 2
  • 9
2
votes
2 answers

No CDN Cache Hits Ever For Firebase Cloud Functions

I have a REST API that I have built with Firebase Cloud Functions. No matter what I try, I can't get any of the endpoints to serve from the CDN cache. A few pertinent details: I am using the csurf middleware. I have set (on select endpoints) a…
2
votes
1 answer

site responding with DNS_PROBE_FINISHED_NXDOMAIN (Google Cloud CDN sending to CloudRun to static file server)

I have a site which is responding with DNS_PROBE_FINISHED_NXDOMAIN at random places around the globe which has been getting worse for the last 16 hours. I have a Google Cloud CDN attached. everything was working fine for months, until yesterday this…
2
votes
1 answer

Is using Google Cloud CDN with Google Storage redundant in terms of Caching?

I recently stumbled over Google CDN and was setting it up right away to use it as a cachable CDN for my frontend's image assets. Now I had a small issue with user profile picture that had some default caching in Google Storage - I therefore set the…
xetra11
  • 7,671
  • 14
  • 84
  • 159
2
votes
1 answer

How to best serve larger files in cloud cdn?

I have a cloud cdn which primarily has been serving high res images for our visualization platform. but lately we have started to get more into 3d content. this content is served as .glb files (binary gltf). and are often in the range 8-40mb in the…
2
votes
2 answers

How to design scalable video streaming architecture using GCP?

I have a video streaming application which does streaming the video from google storage bucket. All the files which reside on the storage bucket are not public. Every time when users click on a video from the front-end I am generating a signed URL…
2
votes
1 answer

Google Cloud CDN signed cookies with bucket as backend

As an alternative to signed urls with a url prefix, I'm trying to get signed cookies working. Google Cloud CDN is setup with a backend bucket which is configured and working for standard signed urls. Using these Go examples I've implemented a cookie…
Robert Field
  • 321
  • 5
  • 16
2
votes
1 answer

Is PageSpeed Insights bypassing Google CDN cache?

We're using Google Cloud Platform to host a WordPress site: Google Load Balancer with CDN -> Instance Group with single VM -> Nginx + WordPress From step 1 (only VM with WordPress, no cache) to the last step (whole setup with Load Balancer and CDN)…
maganap
  • 2,414
  • 21
  • 24
2
votes
2 answers

How to put a Google Cloud Run service behind Cloud CDN?

I want to put a CDN in front of a Google Cloud Run service in order to cache some responses. Right now it seems Cloud CDN requires a Google Load Balancer, and they cannot point to a Google Cloud Run service…
HectorJ
  • 5,814
  • 3
  • 34
  • 52
2
votes
2 answers

Signed URL result with random AuthenticationRequired

I have a CDN in gcloud configured with a storage bucket backend, the bucket is private and I give the ObjectViewer permission to the CDN service account (serviceAccount:service-XXXX@cloud-cdn-fill.iam.gserviceaccount.com) I have an API to request…
2
votes
1 answer

How to solve CORS issue for Google Cloud CDN & Compute Engine

I have created a Compute Engine - VM and have several websites installed. Also, I have created Network services - Load balancing - Backend configuration: Created Backend services and join the instance group with the same VM above. - Created Cloud…
Peter Ho
  • 23
  • 1
  • 3
2
votes
1 answer

Backend bucket versioning

We have bucket with some files behind the CDN, along with signed URLs. We are using query string with version to update content according to the best practices, e.g. file.ext?v=100. Everthing worked well until the recent time. The documentation now…
Evgeny
  • 21
  • 3
2
votes
0 answers

Utilizing CDN for hosting images (or other media files) on the Firebase platform

I am hosting a Firebase App and connected my custom domain to it, which was working smoothly. So my app is accessible at: https://example.com Now, I want to serve the images, which are upload to the default Google Storage Bucket at a clean url…
2
votes
1 answer

can use Google cloud CDN to cache video

Can use google cloud cdn to cache video to help video load faster ??? I'm building a website for livestream in Asia, I wonder if can use google cloud cdn for that ??
Hoang Thanh
  • 101
  • 2
  • 8
2
votes
1 answer

Google Cloud CDN ignores max-age over 3600

We are using Google Cloud CDN with a backend-bucket. Everything works correctly, we see cache-hits etc. but the cache rate is lower than expected. Analyzing it, i recognized that none of the request has an age above 3600. Although our max-age is set…
1 2
3
10 11