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
1 answer

Warning "It looks like you're using the development build of the Firebase JS SDK."

Currently I am getting a warning : It looks like you're using the development build of the Firebase JS SDK. When deploying Firebase apps to production, it is advisable to only import the individual SDK components you intend to use. For the CDN…
2
votes
1 answer

Google Cloud CDN stuck at 0% cache hit rate

Im new to CDN, and i moved my Wordpress site to Google Cloud Platform GCE 2 days ago. I already have a Load Balancer with CDN enabled, but "Cache Hit Rate" is at 0% and hasn't moved. My website is https://cryptstorm.com I checked with this tool…
Bhelic
  • 21
  • 1
  • 4
2
votes
1 answer

granting Cloud CDN access to your buckets?

im trying to use Cloud CDN with backend bucket but it keeps telling me that i should "grant Cloud CDN access to your buckets by adding the Cloud CDN service account to your access control list". I tried modifying the bucket permissions so that…
Cardiak
  • 21
  • 1
2
votes
2 answers

Public object in cloud storage bucket isn't accessible through load balancer

I have CDN setup for my Google CLoud Storage bucket. I have uploaded a public object, you can see it with the public link here: https://storage.googleapis.com/staging.twinkle-4acfc.appspot.com/example_out_message_bg.9.png So in order for the CDN to…
2
votes
1 answer

Utilizing Google's Cloud CDN without a Google Storage Bucket

I've searched the forums and the documentation that Google Cloud provides but I can't seem to find the specific answer I'm looking for. To give a little bit of backstory I'm currently running a virtual machine on Google's Compute Engine; just using…
1
vote
2 answers

Why do I need to enable LoadBalancer to enable Cloud CDN for App Engine in GCP?

I am currently using App Engine in gcp,I want is use cloud CDN for my application. In the google cloud docs it is mentioned that i need to enable load balancer to use Cloud CDN for App Engine. Why should I enable load balancer when I am using app…
1
vote
3 answers

Accessing private google bucket through google CDN w/o signed URLs

By requirement, the google bucket I use for file storage should be private. But I need to make the files on the bucket accessible over google CDN. Most of the documents I found describe the best practice involving signed URLs. But I need to make it…
1
vote
1 answer

How to integrate GCP CDN with GKE NGINX ingress

We are using NGINX ingress in our GKE setup, which means that GCP is using TCP load balancer to route the traffic to Kubernetes NGINX ingress. We serve static content from kubernetes and would like to benefit from GCP CDN for this purpose. However,…
1
vote
1 answer

Google cloud: CDN and Cloud Run responses the requests up to 20 sec

I have problems with CDN and Cloud Run times to response. The response time to request is too big. CDN Cloud Run. It's problem too. Big response time http-requests and sometimes problems with static js, etc. In the logs of the load balancer, it…
1
vote
1 answer

Use Google Cloud CDN for External Website?

My WordPress site is currently hosted in a dedicated server. Now I want to use Google Cloud CDN for my site. Google offers the solution officially at https://cloud.google.com/wordpress, which requires to use their GCE to host the WordPress…
alancc
  • 487
  • 2
  • 24
  • 68
1
vote
0 answers

Google Cloud CDN does not overwrite cache-control header when response is 304 Not Modified?

We will use Google Cloud CDN to cache the objects in the backend bucket as follows. $ gcloud compute backend-buckets describe xxx-backend-bucket bucketName: xxx cdnPolicy: cacheMode: CACHE_ALL_STATIC clientTtl: 0 defaultTtl: 60 maxTtl: 60 …
ryosuke
  • 11
  • 2
1
vote
1 answer

Google Cloud Function: Get the region of the request

I'm developing an API in PHP. I need to know in which region this api is being requested. If possible, with the lowest latency policy (Although I didn't find anything to help with that). For that, I'm using a global load balancer with CDN in my…
1
vote
2 answers

Google CDN not Caching images - NGINX issue or CDN setup?

Site running Google Cloud CDN - According to numerous test is not Caching webp images - potentially all images. This was corroborated with GTMetrix. Initially, I used the Cloud CDN configuration of "Cache Static Content". and later upgraded to "Use…
GlennB
  • 48
  • 10
1
vote
1 answer

How to set the default homepage index.html on Google Cloud CDN

I configured load balancing and CDN for storage static web pages in Google Cloud, and configured domain name access in load balancing. When I access the domain name in the browser, the domain name suffix always displays "index.html", but I don't…
1
vote
1 answer

GCP HTTP Load balancer to TCP Load balancer

I am trying to figure out is how can I connect a TCP Load balancer with a http/https load balancer in GCP. I have installed kong on a GKE cluster and it creates a TCP Load balancer. Now if I have multiple GKE clusters with Kong they all will have…