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

How to download google CDN images?

In google, images are hosted in CDN URL type and I tried to download as an image from that CDN but it throws an error in C#. Used this c# code attached below. using (var webClient = new WebClient()) { byte[]…
0
votes
0 answers

Google Cloud CDN serves stale content AFTER revalidation

I am attempting to use Google Cloud CDN with the stale-while-revalidate feature (Google Docs). However, even though I can see asynchronous revalidation requests being made to my backend server, the new content is never served by the CDN. Here is an…
cmorris
  • 591
  • 5
  • 13
0
votes
1 answer

Wrong cache-control headers delivered from Google Cloud Storage / Google Cloud CDN static website - how to fix?

I have a static web site hosted on a bucket in Google Cloud Storage with Google Cloud CDN in front of it. That site has many pictures with inspirational quotes on them. PageSpeed Insights is saying they need an efficient cache policy: but I am…
0
votes
1 answer

Caching unique file types

I'm currently using the Google CDN on a load balancer backend. On my site we have a large number of static files that are a unique file-type (not the standard files cached on the CDN). Is it possible to cache non-standard files on the CDN? …
0
votes
1 answer

Google Cloud CDN - cache based on request body, not url

I need to support legacy API, which have constant url and request is differentiate using xml body. Is there any option to use body as cache KEY in Google CDN? If no, I'm thinking about rewriting requests to add based64 body in url, what do you think…
0
votes
1 answer

google cloud CDN always serve my static file through only 1 IP

I have my google bucket connect with a load balancer and CDN enabled in google cloud, but I really don't get how google CDN working for static file, checking in the log viewer i can see the "statusDetails: response_from_cache" and "cacheHit: true"…
user1350494
  • 3
  • 1
  • 5
0
votes
1 answer

need setup help for google cdn with wordpress

How can i setup cloud CDN? I have followed the guides. After creating load balancer and backend service with Internet network endpoint group Can i use mydomain.com in google cdn or I have to use cdn.mydomain.com? As on cloudflare you can use main…
0
votes
0 answers

Cloud CDN is slower than the Cloud storage bucket

I have set up the cloud cdn with using storage bucket as a backend. I have expected to speed up the load by using cdn. However, it seems cdn makes it even slower…
0
votes
1 answer

Google Cloud CDN page rules or mappings

I'd like to use Google Cloud CDN with my website that's already hosted on Google Cloud. The website is behind HTTP(s) Load Balancer that's set up via GKE ingress. Now, the problem is that my LB is using several backends. Some of them are backend…
0
votes
1 answer

Signed Cookies with Google Cloud CDN responds with 403

I am trying to get hls / dash streams working via Google Cloud CDN for a video on demand solution. The files / manifests sit in a Google Cloud Storage Bucket and everything looks properly configured since i followed every step of the documentation…
0
votes
1 answer

Universal bucket in Google Cloud Platform for content, which would determine the user's location and serve content from the closest server?

I am a mobile application developer. I use Google Cloud bucket to store 10-second videos and photos that I use in the application. Thousands of users use the application every day, and I want to use a CDN to ensure that the content of the…
0
votes
2 answers

High latency from Google CDN - how to troubleshoot it?

We are trying to find out why there is a high latency from Google CDN. Our site is behind Google'a http_load_balancer with CDN turned on. For example, by inspecting sampe GET request for a jpg file (43Kb), we can see from http_load_balancer logs…
bogumbiker
  • 437
  • 2
  • 5
  • 19
0
votes
1 answer

How to add "public" by default to cached views by Django?

Im trying to use Google Cloud CDN to cache Django responses. Django properly sets the cache-control header with the max age, but it is missing the 'public' part of the header. Basically, currently all cached views have: cache-control:…
user3217163
  • 67
  • 1
  • 6
0
votes
1 answer

Google CDN cache failing

Currently deploying CDN using vm instances + HTTPS LB, all right was set, im checking if works correclty, when make some test to CDN Url's from browser or cURL appear content was cached, but when another user request same URL from different…
Csar
  • 13
  • 2
0
votes
1 answer

Issue Invalidating Google Cloud CDN Cache with Wordpress

After Few days of Research and Reading Google cloud Documentation while understanding Google Cloud CDN Caching . Finally I was able to Setup Google Cloud CDN with Wordpress. Properly setting cache header and setting Vary header as Google CDN…