Google Cloud Stogage cache control issue with Google CDN

Multi tool use
up vote
0
down vote
favorite
I use Google CDN with load balancer and changed the metadata for the existing object to reset cache control.
$ gsutil setmeta -h "Cache-Control:private, max-age=0, no-transform" gs://bucket/*.jpg
And I updated the new object, but I still got the old object.
Any help why it still has the old object?


add a comment |
up vote
0
down vote
favorite
I use Google CDN with load balancer and changed the metadata for the existing object to reset cache control.
$ gsutil setmeta -h "Cache-Control:private, max-age=0, no-transform" gs://bucket/*.jpg
And I updated the new object, but I still got the old object.
Any help why it still has the old object?


add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I use Google CDN with load balancer and changed the metadata for the existing object to reset cache control.
$ gsutil setmeta -h "Cache-Control:private, max-age=0, no-transform" gs://bucket/*.jpg
And I updated the new object, but I still got the old object.
Any help why it still has the old object?


I use Google CDN with load balancer and changed the metadata for the existing object to reset cache control.
$ gsutil setmeta -h "Cache-Control:private, max-age=0, no-transform" gs://bucket/*.jpg
And I updated the new object, but I still got the old object.
Any help why it still has the old object?




asked yesterday
Danny
1916
1916
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Changing the metadata on a Cloud Storage object does not remove any already cached copies from Cloud CDN caches. To instruct Cloud CDN to stop serving from cache, you can request a cache invalidation. There's more information at https://cloud.google.com/cdn/docs/cache-invalidation-overview.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Changing the metadata on a Cloud Storage object does not remove any already cached copies from Cloud CDN caches. To instruct Cloud CDN to stop serving from cache, you can request a cache invalidation. There's more information at https://cloud.google.com/cdn/docs/cache-invalidation-overview.
add a comment |
up vote
0
down vote
Changing the metadata on a Cloud Storage object does not remove any already cached copies from Cloud CDN caches. To instruct Cloud CDN to stop serving from cache, you can request a cache invalidation. There's more information at https://cloud.google.com/cdn/docs/cache-invalidation-overview.
add a comment |
up vote
0
down vote
up vote
0
down vote
Changing the metadata on a Cloud Storage object does not remove any already cached copies from Cloud CDN caches. To instruct Cloud CDN to stop serving from cache, you can request a cache invalidation. There's more information at https://cloud.google.com/cdn/docs/cache-invalidation-overview.
Changing the metadata on a Cloud Storage object does not remove any already cached copies from Cloud CDN caches. To instruct Cloud CDN to stop serving from cache, you can request a cache invalidation. There's more information at https://cloud.google.com/cdn/docs/cache-invalidation-overview.
answered 9 hours ago


elving
86134
86134
add a comment |
add a comment |
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
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238536%2fgoogle-cloud-stogage-cache-control-issue-with-google-cdn%23new-answer', 'question_page');
}
);
Post as a guest
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
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
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
POqZ ecMY4gIh42xy28,FECWd81f2pj,cwzYnb,GSEO8Gh Ub,sPyoSLH