> For the complete documentation index, see [llms.txt](https://pikasso-1.gitbook.io/pikasso/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pikasso-1.gitbook.io/pikasso/our-product/centralize-exchange/cdn.md).

# CDN

* Enable CDN for all NFTs:
  * **Context**: the current app has minted N NFTs without CDN support.
  * How to enable CDN for those NFTs:
    * Download all NFTs of the current app
    * Upload to Google CDN
    * Return a list of CID -> CDN URL
  * Minting and enabling CDN at the same time
    * Context: the current app may or may not enable CDN support. That means some NFTs have CDN support.
    * How to mint and enable CDN at the same time
      * Mint NFTs
      * Upload images into Google Cloud CDN
    * Disable NFT support
      * Context: the current app may or may not enable CDN support
      * How to disable:
        * Go through all NFTs and remove CDN support/CDN URL in google cloud
      * Return a list of CDN images
        * Return metadata of all NFTs
