How Developers Can Use Dedicated IPFS Gateways

Much like the original intent of the web, the Interplanetary File System (IPFS) is built to share data wide and far. However, much like the early web, IPFS can suffer from bottlenecks and slow performance. Fortunately, developers do not have to choose between peer-to-peer decentralization and performance when it comes to accessing content on the IPFS network. Through the use of Dedicated Gateways, developers can provide a blazing fast experience without restricting the open access to data that IPFS promises.
Let’s dive into what Dedicated Gateways are, how to set one up, then how you can use it in your app.
What is a Dedicated Gateway?
To understand what a Dedicated Gateway is, it’s important to understand how IPFS works. IPFS is a peer-to-peer protocol with a core focus on retrieving content not by its location on a central server but by the content itself. This means that if multiple IPFS storage nodes have the same content, when you make a request across the IPFS network, your request will be routed to the location closest to you with the content requested.
This only works at the peer-to-peer network level. The web today doesn’t natively support that, so we can turn to IPFS gateways. An IPFS gateway is a server attached to an IPFS node running on the network. This server accepts traditional HTTP requests and returns content when found. A dedicated gateway from Pinata adds on an additional layer of convenience by adding in data caching at the edge, image optimizations, and video streaming.
How can developers use Dedicated Gateways?
When building applications in the web3 space or applications that make use of public media, IPFS is an ideal choice. But like all applications, the tech stack you use matters. Developers can use Dedicated Gateways from Pinata to ensure scalability and reliability.
If you have a high-traffic application, platform or marketplace that requires fast and reliable access to content on IPFS, a Dedicated Gateway can provide better performance and reduced latency. Using a public gateway could mean major slowdowns. You can see the performance difference below. A Dedicated Gateway is used on the left and a public IPFS gateway offered as a public good is on the right.

In addition to the speed of a built-in CDN, a dedicated gateway gives developers a branded experience. On public gateways, the URL of your pinned files looks something like this: gateway.pinata.cloud/ipfs/xyz. With a Dedicated Gateway, you can set your gateway to point to a custom domain. Your app and your infrastructure can share the same branding through URL.
How do I set up my Dedicated Gateway?
Setting up your Dedicated Gateway is simple. Just login to your app, and navigate to the ‘Gateway’ tab. If you don’t yet have a Picnic plan or higher, it will ask you to upgrade your plan before setting up your Dedicated Gateway.
Once you get to the Gateway tab, you’ll be asked to name your new gateway.

If you’d like to add a custom domain, you can click the three dots and choose Add Custom Domain:

Follow the instructions to add records to your domain registrar’s DNS settings and your custom domain will be pointed at your Dedicated Gateway in no time.
When your app makes requests to load files, you just need to know the URL for your gateway and the content identifier (CID) for the file you want to load. If you’re building your project with IPFS and you want to reach a larger audience without sacrificing on performance, having your own personal gateway is a must. Login to your dashboard to set yours up today.
Happy pinning!
H1 - THE RICH TEXT
EXAMPLE STARTS HERE
H2 - Enabling Widespread Adoption for Music NFTs
paragraph — The first thing the music industry needs is more exposure. For artists, listeners and yeah, the labels. Even with the use cases mentioned above, the majority of the music industry still sees NFTs as a novelty rather than a legitimate way to run a business. We see a future where the experience is built and monetized on the blockchain, with labels taking part of the experience, as well.
Second, there needs to be a big jump in user experience. Listeners know what to expect with Spotify and Apple Music: a smooth, intuitive experience that lets them listen to Lil Nas X with just a few clicks. Web3 platforms aren’t quite there. Music NFTs and related premium content require extra steps that most people don’t yet have an appetite for.
H3 - How Could Music NFTs Save Artists?
paragraph — Musician Daniel Allan spent months building a relationship with the NFT community and raised 50 ETH to fund his new album, Overstimulated. Companies like Audius and artists like Vérité's, who raised $90,000 in an NFT launch, are at the forefront of exploring new ways to get paid. Avenged Sevenfold launched an NFT collection called "Deathbats Club" with 10,000 items that grants holders access to benefits such as meet and greets at shows, lifetime free tickets, limited edition merchandise, and more.

H4 - Static and dynamic content editing
A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!
H5 — How to customize formatting for each rich text
Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.
LINK — This is how a link looks like. Please provide normal & hover state (if different than this)
- This will be bullet points
- Numbered list is the same but with numbers
- It has a margin-left applied
- Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.
- Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.
- Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.
QUOTE — Everyone is obsessed with making money and seeking alpha, which does a disservice to what [NFTs] can actually do. We have been instructing many bands that NFTs are a ticket for access to an exclusive club.” - M. Shadows, Avenged Sevenfold’s lead singer.