Google Cloud CDN started ignoring query strings for storage bucketsGoogle Cloud Storage propagationUpload file using Service Account to Google Cloud Storage bucket that was generated in Google Merchant CenterServe Static files from Google Cloud Storage Bucket (for Django App hosted on GCE)Google Cloud CDN doesn't cache from storage bucket?Google Cloud Functions - Cloud Storage bucket trigger fired lateGoogle cloud storage : How can I Avoid edge cacheUsing Cloudflare CDN + HTTPS with Google Cloud StorageGoogle Cloud - Hosting small websites with CDNStreaming dataflow from Google Cloud Storage to Big QueryGoogle Cloud Storage upload conflict from web UI
How do you make your own symbol when Detexify fails?
A variation to the phrase "hanging over my shoulders"
Has any country ever had 2 former presidents in jail simultaneously?
Why should universal income be universal?
Does the Linux kernel need a file system to run?
How to explain what's wrong with this application of the chain rule?
Creating two special characters
Why is so much work done on numerical verification of the Riemann Hypothesis?
Make a Bowl of Alphabet Soup
What is the highest possible scrabble score for placing a single tile
Is it allowed to activate the ability of multiple planeswalkers in a single turn?
Is there any evidence that Cleopatra and Caesarion considered fleeing to India to escape the Romans?
What (the heck) is a Super Worm Equinox Moon?
How much theory knowledge is actually used while playing?
Can I say "fingers" when referring to toes?
Short story about a deaf man, who cuts people tongues
Which was the first story featuring espers?
How could a planet have erratic days?
How to make money from a browser who sees 5 seconds into the future of any web page?
Delete multiple columns using awk or sed
Does "he squandered his car on drink" sound natural?
Biological Blimps: Propulsion
What does "Scientists rise up against statistical significance" mean? (Comment in Nature)
Taxes on Dividends in a Roth IRA
Google Cloud CDN started ignoring query strings for storage buckets
Google Cloud Storage propagationUpload file using Service Account to Google Cloud Storage bucket that was generated in Google Merchant CenterServe Static files from Google Cloud Storage Bucket (for Django App hosted on GCE)Google Cloud CDN doesn't cache from storage bucket?Google Cloud Functions - Cloud Storage bucket trigger fired lateGoogle cloud storage : How can I Avoid edge cacheUsing Cloudflare CDN + HTTPS with Google Cloud StorageGoogle Cloud - Hosting small websites with CDNStreaming dataflow from Google Cloud Storage to Big QueryGoogle Cloud Storage upload conflict from web UI
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 worked well.
Sometime in the last months (probably weeks) Google seemed to change that and is now ignoring the query string for caching from storage buckets.
First part: does anyone know why this is changed and why noone was notified about it?
Second part: how can you invalidate the Cache for a particular object in a storage bucket without sending a cache-invalidation request (which you shouldnt) everytime?
I don't like the idea of deleting the old file and uploading a new file with changed filename everytime something is uploaded...
google-cloud-platform google-cloud-storage google-cloud-cdn
add a comment |
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 worked well.
Sometime in the last months (probably weeks) Google seemed to change that and is now ignoring the query string for caching from storage buckets.
First part: does anyone know why this is changed and why noone was notified about it?
Second part: how can you invalidate the Cache for a particular object in a storage bucket without sending a cache-invalidation request (which you shouldnt) everytime?
I don't like the idea of deleting the old file and uploading a new file with changed filename everytime something is uploaded...
google-cloud-platform google-cloud-storage google-cloud-cdn
What do you have set for the CDNcache key
? Edit your question with the CDN configuration. This document might help you: cloud.google.com/cdn/docs/caching
– John Hanley
9 hours ago
add a comment |
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 worked well.
Sometime in the last months (probably weeks) Google seemed to change that and is now ignoring the query string for caching from storage buckets.
First part: does anyone know why this is changed and why noone was notified about it?
Second part: how can you invalidate the Cache for a particular object in a storage bucket without sending a cache-invalidation request (which you shouldnt) everytime?
I don't like the idea of deleting the old file and uploading a new file with changed filename everytime something is uploaded...
google-cloud-platform google-cloud-storage google-cloud-cdn
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 worked well.
Sometime in the last months (probably weeks) Google seemed to change that and is now ignoring the query string for caching from storage buckets.
First part: does anyone know why this is changed and why noone was notified about it?
Second part: how can you invalidate the Cache for a particular object in a storage bucket without sending a cache-invalidation request (which you shouldnt) everytime?
I don't like the idea of deleting the old file and uploading a new file with changed filename everytime something is uploaded...
google-cloud-platform google-cloud-storage google-cloud-cdn
google-cloud-platform google-cloud-storage google-cloud-cdn
asked 16 hours ago
Markus ZancolòMarkus Zancolò
62
62
What do you have set for the CDNcache key
? Edit your question with the CDN configuration. This document might help you: cloud.google.com/cdn/docs/caching
– John Hanley
9 hours ago
add a comment |
What do you have set for the CDNcache key
? Edit your question with the CDN configuration. This document might help you: cloud.google.com/cdn/docs/caching
– John Hanley
9 hours ago
What do you have set for the CDN
cache key
? Edit your question with the CDN configuration. This document might help you: cloud.google.com/cdn/docs/caching– John Hanley
9 hours ago
What do you have set for the CDN
cache key
? Edit your question with the CDN configuration. This document might help you: cloud.google.com/cdn/docs/caching– John Hanley
9 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55280010%2fgoogle-cloud-cdn-started-ignoring-query-strings-for-storage-buckets%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55280010%2fgoogle-cloud-cdn-started-ignoring-query-strings-for-storage-buckets%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What do you have set for the CDN
cache key
? Edit your question with the CDN configuration. This document might help you: cloud.google.com/cdn/docs/caching– John Hanley
9 hours ago