Manage CDN assetsΒΆ
This how-to guide shows you how to list and manage assets on the CDN.
In most cases you only need to upload new assets through the GitHub Action. In the rare case you need to manage the assets directly, you can do so through the Google Cloud Console.
PrerequisitesΒΆ
- You have previously uploaded assets to the CDN.
Find reference to bucketΒΆ
Assets are stored in a Google Cloud Bucket. To find the bucket name:
- Open the NAIS console in your browser.
- Select your team.
- Select the Settings tab.
- Under the Managed resources section, look for the heading named Team CDN bucket.
- Click the link (
nais-cdn-nav-<team>-<hash>
) to view the bucket in Google Cloud Console.
List and manage assets through Google Cloud ConsoleΒΆ
The bucket view in Google Cloud Console lists your team's uploaded assets. This might be useful to verify that your uploaded assets are present, or to delete unused or erroneously uploaded assets.
Some other common tasks you can perform in the Google Cloud Console:
- View and edit object metadata
- Set Cache-Control headers (though this will be overwritten by the GitHub Action on the next upload)
- Delete objects