[Answered ]-Google cloud storage images differ for authenticated url and public url

1👍

In general the same object will be served by storage.googleapis.com and storage.cloud.google.com.

The only exception is if there is some caching (either in your browser, in a proxy, with Cloud CDN or in GCS). If you read the object via storage.cloud.google.com before uploading a new version, then reading after by storage.cloud.google.com may serve the old version while storage.googleapis.com returns the new one. Caching can also be location dependent.

If you can’t allow an hour of caching, set Cache control to no-cache.

👤David

Leave a comment