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

CDN Price for Live stream vs VOD

I have been studying the pricing for a few CDN systems (namely, GCP, AWS and Azure), and need help clarifying my understanding for price dynamics for a VOD vs Live on CDN. Assumptions for the comparison are - Both the streams (VOD and Live) are of…
1
vote
2 answers

Google CDN behavior when serving concurrent (chunked) requests

I'm trying to understand the Google CDN behavior in the following scenario: Let's assume I have a backend service serving chunked http data. For the sake of the explanation, let's assume that serving a single request takes up to 10s Let's imagine…
J. Lapin
  • 13
  • 4
1
vote
1 answer

Google cloud function on top of google CDN

I would like to use google cloud CDN to host images for my clients. I can not discover and upload all images beforehand, and my clients may request images that are not yet stored on the CDN. How can I add code to google cloud CDN so that if an asset…
1
vote
1 answer

Google Cloud Storage always returning cache control private

We have a Google Cloud LB setup with an backend storage bucket and CDN enabled, i added the allUsers member with Storage Object Viewer permissions so we can reach the public data with an normal url. The problem: We always get cache-control: private,…
TriPSs
  • 117
  • 1
  • 8
1
vote
0 answers

Google load balancer latency to backend

I have set up a HTTP(S) load balancer and activated Cloud CDN. This sits in front of an instance group containing just 1 instance which is located in australia-southeast. Connecting to the CDN IP does route the user to the closest POP. The…
1
vote
1 answer

Google Cloud Platform: CDN cache misses when switched backend service

I have a load balancer setup with two backend services. URL mapping on LB looks like: site.com -> backend-blue test.site.com -> backend-green Both backend services have CDN enabled. I could see cache hit ratio around 96% on the backend-blue…
dimka
  • 76
  • 5
1
vote
1 answer

Impossible to use Google Cloud CDN cache with ingress controller, Transfer-Encoding header

I try to configure Google Cloud CDN to my container engine project. Following the documentation It has either a Content-Length header or a Transfer-Encoding header in order to be cached. My backend use gzip compression so I have Transfer-Encoding:…
1
vote
1 answer

Google cloud CDN pricing details on cache data size and automatic cache invalidation

I was learning about google cloud CDN and is satisfied with the drop in price difference for egress but some info is missing in pricing documentation Will cache entries that is automatically removed after expiration of 30 days be charged under…
neo
  • 386
  • 3
  • 13
0
votes
0 answers

Invalidate Google cloud CDN cache fails over permissions

I use YAML build files along with Coogle cloud build to deploy my front-end app as a static site, after every deployment I want to invalidate the CDN cache, hence I have added this snippet to my build YAML file - name:…
0
votes
1 answer

Google Cloud CDN single file multiple filename/route with regex and htaccess

I search a solution for this: On Google Cloud Storage bucket stored a file: /2023-2.jpg So if browser open xyz.com/2023-2-abc.jpg xyz.com/2023-2-cba.jpg etc. i want to the CDN load this (not redirect): xyz.com/2023-2.jpg file I want to reach this…
Alex
  • 1
0
votes
1 answer

Google Cloud CDN strips CDN query string parameters URLPrefix, Expires, Signature and KeyName

Today I noticed that my signed image URLs through Google Cloud CDN are not working any longer on production. What I did to debug: Added debug logging to the application to see what query string is coming in and noticed that the query string was…
Jørgen
  • 2,157
  • 1
  • 23
  • 24
0
votes
1 answer

Wordpress behind a load balancer and CDN does not update CSS immediately

The CSS does not update immediately when the website is accessed via the domain. It is updated immediately when accessed via the VM's IP. How can I configure the CDN to immediately update the cache content whenever there is a change in CSS? Set…
0
votes
1 answer

Object inside google cloud storage not accessible trough CDN

I have a question about Google Cloud Storage and CDN, I try to access an object inside storage via CDN but sometimes it said it's unreachable Anyone ever challenge something like this? any idea to fix it? it's a bit weird since sometimes it's work…
0
votes
1 answer

Restrict access to GCS bucket but keep up Cloud CDN accessible to everyone

I'm new to Google Cloud and recently I've set up the bucket as the origin for cloud CDN. All is fine but I have a question. Can you and if so how private access to the bucket, so the only way to get the data is through cloud cdn IP not through…
0
votes
0 answers

Unable to set GCP Cloud CDN 'stripQuery': false error

I have created a Cloud CDN for my backend Cloud Run service (next.js app) with below configurations: Path matcher (matches, actions and services): defaultService:…
Milind Singh
  • 296
  • 6
  • 23