All Products
Search
Document Center

Object Storage Service:Why can I access an object after the signed object URL expires?

Last Updated:Sep 25, 2023

In most cases, you cannot access an object by using a signed object URL that expired. However, if the URL is opened in your local browser, you can access the object by using the browser cache if the browser cache is valid.

You can specify that a signed object URL becomes invalid when it expires by setting the Cache-Control parameter to no-cache or setting the Expires parameter to a value smaller than the validity period of the signed object URL. For more information, see Manage object metadata.

Important

After you modify the Cache-Control or Expires parameter, the browser stops caching Object Storage Service (OSS) objects or the validity periods of cached objects decrease. In this case, the number of API requests and outbound traffic over the Internet may increase.